diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-04 15:21:44 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-04 15:21:44 +0000 |
commit | d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d (patch) | |
tree | 644a546ce4baf2b4618837d7bc9f774d0c9545ed /apps/metadata.h | |
parent | f0132528fdc3a966e3d5efba0fb720faabca241b (diff) | |
download | rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.tar.gz rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.zip |
Rework parts of the replaygain code to be able to differentiate between 0.00 dB set intentionally and having no replaygain information at all. Bump codec api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29679 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.h')
-rw-r--r-- | apps/metadata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h index 4c7e94f394..a520f40989 100644 --- a/apps/metadata.h +++ b/apps/metadata.h | |||
@@ -282,6 +282,8 @@ struct mp3entry { | |||
282 | 282 | ||
283 | /* replaygain support */ | 283 | /* replaygain support */ |
284 | #if CONFIG_CODEC == SWCODEC | 284 | #if CONFIG_CODEC == SWCODEC |
285 | long track_level; /* holds the level in dB * (1<<FP_BITS) */ | ||
286 | long album_level; | ||
285 | long track_gain; /* s19.12 signed fixed point. 0 for no gain. */ | 287 | long track_gain; /* s19.12 signed fixed point. 0 for no gain. */ |
286 | long album_gain; | 288 | long album_gain; |
287 | long track_peak; /* s19.12 signed fixed point. 0 for no peak. */ | 289 | long track_peak; /* s19.12 signed fixed point. 0 for no peak. */ |