diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-29 07:57:46 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-29 07:57:46 +0000 |
| commit | 34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5 (patch) | |
| tree | b66203185a155cdc82deb5c05a1cc7e2bd276762 | |
| parent | f45b33384214b947dcd13acf0f98e9b27fd5a7eb (diff) | |
| download | rockbox-34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5.zip rockbox-34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5.tar.gz rockbox-34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5.tar.bz2 rockbox-34cd9cbe14f876aa4a75d996aced3cbe0a2fa5d5.tar.xz | |
Save bass/treble settings in iPod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9337 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/settings.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index e87e524..6ea7c34 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 */ |