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/gui/skin_engine | |
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/gui/skin_engine')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index a315bae609..3aa7947edc 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -1332,11 +1332,11 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1332 | /* due to above, coming here with !id3 shouldn't be possible */ | 1332 | /* due to above, coming here with !id3 shouldn't be possible */ |
1333 | case 2: | 1333 | case 2: |
1334 | case 4: | 1334 | case 4: |
1335 | replaygain_itoa(buf, buf_size, id3->track_gain); | 1335 | replaygain_itoa(buf, buf_size, id3->track_level); |
1336 | break; | 1336 | break; |
1337 | case 3: | 1337 | case 3: |
1338 | case 5: | 1338 | case 5: |
1339 | replaygain_itoa(buf, buf_size, id3->album_gain); | 1339 | replaygain_itoa(buf, buf_size, id3->album_level); |
1340 | break; | 1340 | break; |
1341 | } | 1341 | } |
1342 | return buf; | 1342 | return buf; |