diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2005-09-24 15:56:33 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2005-09-24 15:56:33 +0000 |
commit | 415f3bddf62d289c033011061533c1a3da5cab9c (patch) | |
tree | a2ffbd47d69d110229fbfcd674e828e66f0afc72 | |
parent | c694954f73b7cfea662b332fc690cc02f5d0642c (diff) | |
download | rockbox-415f3bddf62d289c033011061533c1a3da5cab9c.tar.gz rockbox-415f3bddf62d289c033011061533c1a3da5cab9c.zip |
Oops, forgot to guard a couple of calls to dsp_set_replaygain...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7560 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/screens.c | 2 | ||||
-rw-r--r-- | apps/settings_menu.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index b85d79bb28..7ac87ac063 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -664,7 +664,9 @@ bool quick_screen(int context, int button) | |||
664 | 664 | ||
665 | if(audio_status() & AUDIO_STATUS_PLAY) | 665 | if(audio_status() & AUDIO_STATUS_PLAY) |
666 | { | 666 | { |
667 | #if CONFIG_CODEC == SWCODEC | ||
667 | dsp_set_replaygain(true); | 668 | dsp_set_replaygain(true); |
669 | #endif | ||
668 | 670 | ||
669 | if (global_settings.playlist_shuffle) | 671 | if (global_settings.playlist_shuffle) |
670 | playlist_randomise(NULL, current_tick, true); | 672 | playlist_randomise(NULL, current_tick, true); |
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 59c800588f..8a1fa72415 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -1296,7 +1296,9 @@ static bool playback_settings_menu(void) | |||
1296 | if ((old_shuffle != global_settings.playlist_shuffle) | 1296 | if ((old_shuffle != global_settings.playlist_shuffle) |
1297 | && (audio_status() & AUDIO_STATUS_PLAY)) | 1297 | && (audio_status() & AUDIO_STATUS_PLAY)) |
1298 | { | 1298 | { |
1299 | #if CONFIG_CODEC == SWCODEC | ||
1299 | dsp_set_replaygain(true); | 1300 | dsp_set_replaygain(true); |
1301 | #endif | ||
1300 | 1302 | ||
1301 | if (global_settings.playlist_shuffle) | 1303 | if (global_settings.playlist_shuffle) |
1302 | { | 1304 | { |