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 | |
| parent | f0132528fdc3a966e3d5efba0fb720faabca241b (diff) | |
| download | rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.zip rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.tar.gz rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.tar.bz2 rockbox-d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d.tar.xz | |
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')
| -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 a315bae..3aa7947 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, /* due to above, coming here with !id3 shouldn't be possible */ case 2: case 4: - replaygain_itoa(buf, buf_size, id3->track_gain); + replaygain_itoa(buf, buf_size, id3->track_level); break; case 3: case 5: - replaygain_itoa(buf, buf_size, id3->album_gain); + replaygain_itoa(buf, buf_size, id3->album_level); break; } return buf; |