From 9b9e22731c137ef3f3febde7d4a914e1adfe6253 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 26 Feb 2007 17:15:04 +0000 Subject: SWCODEC: Fix the problem of replaygain not being applied unless the menu is entered. Make all codecs set the replay gain or else formats that do not have replaygain will not set the gain back to default if a file with gain applied proceeded them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12498 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/nsf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/codecs/nsf.c') diff --git a/apps/codecs/nsf.c b/apps/codecs/nsf.c index 0ca1275..6f81c6a 100644 --- a/apps/codecs/nsf.c +++ b/apps/codecs/nsf.c @@ -4344,6 +4344,8 @@ next_track: /* wait for track info to load */ while (!*ci->taginfo_ready && !ci->stop_codec) ci->sleep(1); + + codec_set_replaygain(ci->id3); /* Read the entire file */ DEBUGF("NSF: request file\n"); -- cgit v1.1