From 34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 29 Mar 2006 07:57:46 +0000 Subject: [PATCH] Save bass/treble settings in iPod git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9337 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/settings.c b/apps/settings.c index e87e5247e6..6ea7c34a31 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -90,7 +90,7 @@ const char rec_base_directory[] = REC_BASE_DIR; #include "dsp.h" #endif -#define CONFIG_BLOCK_VERSION 38 +#define CONFIG_BLOCK_VERSION 39 #define CONFIG_BLOCK_SIZE 512 #define RTC_BLOCK_SIZE 44 @@ -213,6 +213,9 @@ static const struct bit_entry rtc_bits[] = #elif defined HAVE_UDA1380 {5, S_O(bass), 0, "bass", NULL }, /* 0..+24 */ {3, S_O(treble), 0, "treble", NULL }, /* 0..+6 */ +#elif defined(HAVE_WM8975) || defined(HAVE_WM8758) || defined(HAVE_WM8731) + {4 | SIGNED, S_O(bass), 0, "bass", NULL }, /* -6..+9 */ + {4 | SIGNED, S_O(treble), 0, "treble", NULL }, /* -6..+9 */ #endif #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) {5, S_O(loudness), 0, "loudness", NULL }, /* 0...17 */