summaryrefslogtreecommitdiff
path: root/apps/mp3data.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mp3data.h')
-rw-r--r--apps/mp3data.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/mp3data.h b/apps/mp3data.h
index 2a6a27ac2d..0fccd62827 100644
--- a/apps/mp3data.h
+++ b/apps/mp3data.h
@@ -30,27 +30,21 @@ struct mp3info {
30 /* Standard MP3 frame header fields */ 30 /* Standard MP3 frame header fields */
31 int version; 31 int version;
32 int layer; 32 int layer;
33 bool protection;
34 int bitrate; 33 int bitrate;
35 long frequency; 34 long frequency;
36 int padding; 35 int padding;
37 int channel_mode; 36 int channel_mode;
38 int mode_extension;
39 int emphasis;
40 int frame_size; /* Frame size in bytes */ 37 int frame_size; /* Frame size in bytes */
41 int frame_samples; /* Samples per frame */ 38 int frame_samples;/* Samples per frame */
42 int ft_num; /* Numerator of frametime in milliseconds */ 39 int ft_num; /* Numerator of frametime in milliseconds */
43 int ft_den; /* Denominator of frametime in milliseconds */ 40 int ft_den; /* Denominator of frametime in milliseconds */
44 41
45 bool is_vbr; /* True if the file is VBR */ 42 bool is_vbr; /* True if the file is VBR */
46 bool has_toc; /* True if there is a VBR header in the file */ 43 bool has_toc; /* True if there is a VBR header in the file */
47 bool is_xing_vbr; /* True if the VBR header is of Xing type */
48 bool is_vbri_vbr; /* True if the VBR header is of VBRI type */
49 unsigned char toc[100]; 44 unsigned char toc[100];
50 unsigned long frame_count; /* Number of frames in the file (if VBR) */ 45 unsigned long frame_count; /* Number of frames in the file (if VBR) */
51 unsigned long byte_count; /* File size in bytes */ 46 unsigned long byte_count; /* File size in bytes */
52 unsigned long file_time; /* Length of the whole file in milliseconds */ 47 unsigned long file_time; /* Length of the whole file in milliseconds */
53 unsigned long vbr_header_pos;
54 int enc_delay; /* Encoder delay, fetched from LAME header */ 48 int enc_delay; /* Encoder delay, fetched from LAME header */
55 int enc_padding; /* Padded samples added to last frame. LAME header */ 49 int enc_padding; /* Padded samples added to last frame. LAME header */
56}; 50};