summaryrefslogtreecommitdiff
path: root/apps/codecs/nsf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-26 17:15:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-26 17:15:04 +0000
commit9b9e22731c137ef3f3febde7d4a914e1adfe6253 (patch)
tree4e6f98841be43af0004f97e6d827986279b6ff28 /apps/codecs/nsf.c
parent94c02493a9f34a686655bd82dedba8c9a78cbc63 (diff)
downloadrockbox-9b9e22731c137ef3f3febde7d4a914e1adfe6253.tar.gz
rockbox-9b9e22731c137ef3f3febde7d4a914e1adfe6253.zip
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
Diffstat (limited to 'apps/codecs/nsf.c')
-rw-r--r--apps/codecs/nsf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/nsf.c b/apps/codecs/nsf.c
index 0ca1275d5e..6f81c6a4bc 100644
--- a/apps/codecs/nsf.c
+++ b/apps/codecs/nsf.c
@@ -4344,6 +4344,8 @@ next_track:
4344 /* wait for track info to load */ 4344 /* wait for track info to load */
4345 while (!*ci->taginfo_ready && !ci->stop_codec) 4345 while (!*ci->taginfo_ready && !ci->stop_codec)
4346 ci->sleep(1); 4346 ci->sleep(1);
4347
4348 codec_set_replaygain(ci->id3);
4347 4349
4348 /* Read the entire file */ 4350 /* Read the entire file */
4349 DEBUGF("NSF: request file\n"); 4351 DEBUGF("NSF: request file\n");