summaryrefslogtreecommitdiff
path: root/apps/mp3data.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-27 20:49:08 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-27 20:49:08 +0000
commit41658bd07a1bc7b48ef12b356f67f11225593ddd (patch)
treeadc3d80e944a0c541c9ed483df4f1f528bdab5e1 /apps/mp3data.h
parent883ff8507e42f7fbba6416e60fb116164219aa5f (diff)
downloadrockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.zip
rockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.tar.gz
rockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.tar.bz2
rockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.tar.xz
Remove some useless code and variables in the area of metadata parsing. Bump codec API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29438 a1c6a512-1295-4272-9138-f99709370657
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 2a6a27a..0fccd62 100644
--- a/apps/mp3data.h
+++ b/apps/mp3data.h
@@ -30,27 +30,21 @@ struct mp3info {
/* Standard MP3 frame header fields */
int version;
int layer;
- bool protection;
int bitrate;
long frequency;
int padding;
int channel_mode;
- int mode_extension;
- int emphasis;
int frame_size; /* Frame size in bytes */
- int frame_samples; /* Samples per frame */
+ int frame_samples;/* Samples per frame */
int ft_num; /* Numerator of frametime in milliseconds */
int ft_den; /* Denominator of frametime in milliseconds */
bool is_vbr; /* True if the file is VBR */
bool has_toc; /* True if there is a VBR header in the file */
- bool is_xing_vbr; /* True if the VBR header is of Xing type */
- bool is_vbri_vbr; /* True if the VBR header is of VBRI type */
unsigned char toc[100];
unsigned long frame_count; /* Number of frames in the file (if VBR) */
unsigned long byte_count; /* File size in bytes */
unsigned long file_time; /* Length of the whole file in milliseconds */
- unsigned long vbr_header_pos;
int enc_delay; /* Encoder delay, fetched from LAME header */
int enc_padding; /* Padded samples added to last frame. LAME header */
};