summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2005-11-14 21:56:56 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2005-11-14 21:56:56 +0000
commite13fad3b4bb6eb470149ddafb2833837d6c076e9 (patch)
tree127110e45819ac342189c91896caaee0c7682336 /apps/settings.c
parentf5aebf78487e94cc39277bc5a7f5277d5ce3303e (diff)
downloadrockbox-e13fad3b4bb6eb470149ddafb2833837d6c076e9.tar.gz
rockbox-e13fad3b4bb6eb470149ddafb2833837d6c076e9.zip
add crossfeed dsp effect. Makes some music more enjoyable with headphones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 742b11276d..f483b8dd73 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -85,7 +85,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
85#include "dsp.h" 85#include "dsp.h"
86#endif 86#endif
87 87
88#define CONFIG_BLOCK_VERSION 30 88#define CONFIG_BLOCK_VERSION 31
89#define CONFIG_BLOCK_SIZE 512 89#define CONFIG_BLOCK_SIZE 512
90#define RTC_BLOCK_SIZE 44 90#define RTC_BLOCK_SIZE 44
91 91
@@ -444,6 +444,7 @@ static const struct bit_entry hd_bits[] =
444 {4, S_O(crossfade_fade_in_duration), 0, "crossfade fade in duration", NULL}, 444 {4, S_O(crossfade_fade_in_duration), 0, "crossfade fade in duration", NULL},
445 {4, S_O(crossfade_fade_out_duration), 0, "crossfade fade out duration", NULL}, 445 {4, S_O(crossfade_fade_out_duration), 0, "crossfade fade out duration", NULL},
446 {1, S_O(crossfade_fade_out_mixmode), 0, "crossfade fade out mode", "crossfade,mix"}, 446 {1, S_O(crossfade_fade_out_mixmode), 0, "crossfade fade out mode", "crossfade,mix"},
447 {1, S_O(crossfeed), false, "crossfeed", off_on },
447#endif 448#endif
448#ifdef HAVE_DIRCACHE 449#ifdef HAVE_DIRCACHE
449 {1, S_O(dircache), false, "dircache", off_on }, 450 {1, S_O(dircache), false, "dircache", off_on },
@@ -912,6 +913,7 @@ void settings_apply(void)
912#if CONFIG_CODEC == SWCODEC 913#if CONFIG_CODEC == SWCODEC
913 audio_set_crossfade(global_settings.crossfade); 914 audio_set_crossfade(global_settings.crossfade);
914 dsp_set_replaygain(true); 915 dsp_set_replaygain(true);
916 dsp_set_crossfeed(global_settings.crossfeed);
915#endif 917#endif
916 918
917#ifdef HAVE_SPDIF_POWER 919#ifdef HAVE_SPDIF_POWER