summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2005-09-24 15:22:48 +0000
committerMagnus Holmgren <magnushol@gmail.com>2005-09-24 15:22:48 +0000
commit4b711c2f72608441f1ef44db584eccc9ca823ea1 (patch)
tree34398d7fd8f1a200c36470659b278819553c676f /apps/screens.c
parent9a625ef7ac544976f45734d62294a52ef32cfe66 (diff)
Iriver: Added new ReplayGain type: track gain if shuffle mode is active, album gain otherwise. Properly apply ReplayGain settings on config file load. Bumped config version, so save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c
index b28432d1fd..b85d79bb28 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -53,6 +53,9 @@
#ifdef HAVE_MMC
#include "ata_mmc.h"
#endif
+#if CONFIG_CODEC == SWCODEC
+#include "dsp.h"
+#endif
#ifdef HAVE_LCD_BITMAP
#define SCROLLBAR_WIDTH 6
@@ -661,6 +664,8 @@ bool quick_screen(int context, int button)
if(audio_status() & AUDIO_STATUS_PLAY)
{
+ dsp_set_replaygain(true);
+
if (global_settings.playlist_shuffle)
playlist_randomise(NULL, current_tick, true);
else