forked from len0rd/rockbox
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
This commit is contained in:
parent
cd715d8468
commit
7956c92f92
1 changed files with 6 additions and 4 deletions
|
|
@ -166,21 +166,17 @@ struct mp3entry {
|
||||||
unsigned long length; /* song length in ms */
|
unsigned long length; /* song length in ms */
|
||||||
unsigned long elapsed; /* ms played */
|
unsigned long elapsed; /* ms played */
|
||||||
|
|
||||||
#if CONFIG_CODEC == SWCODEC
|
|
||||||
int lead_trim; /* Number of samples to skip at the beginning */
|
int lead_trim; /* Number of samples to skip at the beginning */
|
||||||
int tail_trim; /* Number of samples to remove from the end */
|
int tail_trim; /* Number of samples to remove from the end */
|
||||||
|
|
||||||
/* Added for Vorbis */
|
/* Added for Vorbis */
|
||||||
unsigned long samples; /* number of samples in track */
|
unsigned long samples; /* number of samples in track */
|
||||||
#endif
|
|
||||||
|
|
||||||
/* MP3 stream specific info */
|
/* MP3 stream specific info */
|
||||||
unsigned long frame_count; /* number of frames in the file (if VBR) */
|
unsigned long frame_count; /* number of frames in the file (if VBR) */
|
||||||
|
|
||||||
#if CONFIG_CODEC == SWCODEC
|
|
||||||
/* Used for A52/AC3 */
|
/* Used for A52/AC3 */
|
||||||
unsigned long bytesperframe; /* number of bytes per frame (if CBR) */
|
unsigned long bytesperframe; /* number of bytes per frame (if CBR) */
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Xing VBR fields */
|
/* Xing VBR fields */
|
||||||
bool vbr;
|
bool vbr;
|
||||||
|
|
@ -195,6 +191,12 @@ struct mp3entry {
|
||||||
unsigned long offset; /* bytes played */
|
unsigned long offset; /* bytes played */
|
||||||
int index; /* playlist index */
|
int index; /* playlist index */
|
||||||
|
|
||||||
|
/* FileEntry fields */
|
||||||
|
long fileentryoffset;
|
||||||
|
long filehash;
|
||||||
|
long songentryoffset;
|
||||||
|
long rundbentryoffset;
|
||||||
|
|
||||||
/* runtime database fields */
|
/* runtime database fields */
|
||||||
short rating;
|
short rating;
|
||||||
short score;
|
short score;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue