3
* arch-tag: mp3 bitrate parsing header
4
* Returns 1 if the header was parsed successfully, 0 if it failed
6
* bitrate: in bps, not kbps
8
* time: only informed if we have a VBR file with Xing headers, needs to be
9
* deduced from the bitrate and filesize otherwise, in seconds
10
* version: 1 for MPEG Version 1, 2 for MPEG Version 2, and
11
* 3 for MPEG Version 2.5
12
* vbr: whether it is a variable bitrate stream
13
* channels: number of channels used in the stream
16
int mp3_bitrate_parse_header (guchar *buffer, guint length_read, int *bitrate,
17
int *samplerate, int *time, int *version, int *vbr,