From 7956c92f92f8b130b633e6d062a61c07eebe6478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 30 May 2007 22:16:11 +0000 Subject: [PATCH] Revert changes to id3.h, removing those members from the struct made binsize increase almost 1KB on some targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13528 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/id3.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 3306e7710d..5cc600face 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h @@ -166,21 +166,17 @@ 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; @@ -195,6 +191,12 @@ 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;