~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to metadata/monkey-media/stream-info-impl/id3-vfs/mp3bitrate.h

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*
3
 
 * arch-tag: mp3 bitrate parsing header
4
 
 * Returns 1 if the header was parsed successfully, 0 if it failed
5
 
 *
6
 
 * bitrate: in bps, not kbps
7
 
 * samplerate: ditto
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
14
 
 */
15
 
 
16
 
int mp3_bitrate_parse_header (guchar *buffer, guint length_read, int *bitrate,
17
 
                int *samplerate, int *time, int *version, int *vbr,
18
 
                int *channels);
19