summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/screens.c2
-rw-r--r--apps/settings_menu.c2
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)
if(audio_status() & AUDIO_STATUS_PLAY)
{
+#if CONFIG_CODEC == SWCODEC
dsp_set_replaygain(true);
+#endif
if (global_settings.playlist_shuffle)
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)
if ((old_shuffle != global_settings.playlist_shuffle)
&& (audio_status() & AUDIO_STATUS_PLAY))
{
+#if CONFIG_CODEC == SWCODEC
dsp_set_replaygain(true);
+#endif
if (global_settings.playlist_shuffle)
{