diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-05-30 21:57:15 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-05-30 21:57:15 +0000 |
commit | cd715d8468c272f7cd75538f509b89b17443545a (patch) | |
tree | da9e3c4bc41f51df99d05cdf8f1f318aa85fd9d9 /firmware/export | |
parent | ce3cbcdae27da100504db6fa57d5d57671ada043 (diff) |
Remove unused struct members and ifdef some for SWCODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13527 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/id3.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 5cc600face..3306e7710d 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h @@ -166,17 +166,21 @@ struct mp3entry { unsigned long length; /* song length in ms */ unsigned long elapsed; /* ms played */ +#if CONFIG_CODEC == SWCODEC int lead_trim; /* Number of samples to skip at the beginning */ int tail_trim; /* Number of samples to remove from the end */ /* Added for Vorbis */ unsigned long samples; /* number of samples in track */ +#endif /* MP3 stream specific info */ unsigned long frame_count; /* number of frames in the file (if VBR) */ +#if CONFIG_CODEC == SWCODEC /* Used for A52/AC3 */ unsigned long bytesperframe; /* number of bytes per frame (if CBR) */ +#endif /* Xing VBR fields */ bool vbr; @@ -191,12 +195,6 @@ struct mp3entry { unsigned long offset; /* bytes played */ int index; /* playlist index */ - /* FileEntry fields */ - long fileentryoffset; - long filehash; - long songentryoffset; - long rundbentryoffset; - /* runtime database fields */ short rating; short score; |