From d1766a1510b6092fa8ea0e644fdd1c1e508d9c4d Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 4 Apr 2011 15:21:44 +0000 Subject: 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 --- apps/gui/skin_engine/skin_tokens.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui/skin_engine') 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, /* 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; -- cgit v1.2.3