From e13fad3b4bb6eb470149ddafb2833837d6c076e9 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Mon, 14 Nov 2005 21:56:56 +0000 Subject: 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 --- apps/settings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/settings.c') 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; #include "dsp.h" #endif -#define CONFIG_BLOCK_VERSION 30 +#define CONFIG_BLOCK_VERSION 31 #define CONFIG_BLOCK_SIZE 512 #define RTC_BLOCK_SIZE 44 @@ -444,6 +444,7 @@ static const struct bit_entry hd_bits[] = {4, S_O(crossfade_fade_in_duration), 0, "crossfade fade in duration", NULL}, {4, S_O(crossfade_fade_out_duration), 0, "crossfade fade out duration", NULL}, {1, S_O(crossfade_fade_out_mixmode), 0, "crossfade fade out mode", "crossfade,mix"}, + {1, S_O(crossfeed), false, "crossfeed", off_on }, #endif #ifdef HAVE_DIRCACHE {1, S_O(dircache), false, "dircache", off_on }, @@ -912,6 +913,7 @@ void settings_apply(void) #if CONFIG_CODEC == SWCODEC audio_set_crossfade(global_settings.crossfade); dsp_set_replaygain(true); + dsp_set_crossfeed(global_settings.crossfeed); #endif #ifdef HAVE_SPDIF_POWER -- cgit v1.2.3