forked from len0rd/rockbox
ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
Note that there is a small delay from leaving a setting until the change can be heard (due to audio data buffering). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6bd8e5db08
commit
4a53787992
17 changed files with 404 additions and 38 deletions
|
|
@ -53,13 +53,13 @@ enum {
|
|||
|
||||
struct mp3entry {
|
||||
char path[MAX_PATH];
|
||||
char *title;
|
||||
char *artist;
|
||||
char *album;
|
||||
char* genre_string ;
|
||||
char* track_string ;
|
||||
char* year_string ;
|
||||
char* composer ;
|
||||
char* title;
|
||||
char* artist;
|
||||
char* album;
|
||||
char* genre_string;
|
||||
char* track_string;
|
||||
char* year_string;
|
||||
char* composer;
|
||||
int tracknum;
|
||||
int version;
|
||||
int layer;
|
||||
|
|
@ -115,6 +115,17 @@ struct mp3entry {
|
|||
short voladjust;
|
||||
long playcount;
|
||||
long lastplayed;
|
||||
|
||||
/* replaygain support */
|
||||
|
||||
#if CONFIG_HWCODEC == MASNONE
|
||||
char* track_gain_str;
|
||||
char* album_gain_str;
|
||||
long track_gain; /* 7.24 signed fixed point. 0 for no gain. */
|
||||
long album_gain;
|
||||
long track_peak; /* 7.24 signed fixed point. 0 for no peak. */
|
||||
long album_peak;
|
||||
#endif
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue