diff options
author | Dan Everton <dan@iocaine.org> | 2007-11-27 10:52:03 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2007-11-27 10:52:03 +0000 |
commit | f666a7e8c682f499b0af030e3d7503d041528cd7 (patch) | |
tree | 85fa363bd80ad4a361834f675edc9ce87c73a970 | |
parent | a43c5c10c8155fd05cd575a6615d65eff1349040 (diff) |
Fix crash in sim when changing the MAS specific sound settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15833 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/sound.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 0e1e7c5576..5a1a1e97b7 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -74,6 +74,16 @@ const struct sound_settings_info audiohw_settings[] = { [SOUND_BASS_CUTOFF] = {"", 0, 1, 1, 4, 1}, [SOUND_TREBLE_CUTOFF] = {"", 0, 1, 1, 4, 1}, #endif +#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) + [SOUND_LOUDNESS] = {"dB", 0, 1, 0, 17, 0}, + [SOUND_AVC] = {"", 0, 1, -1, 4, 0}, + [SOUND_MDB_STRENGTH] = {"dB", 0, 1, 0, 127, 48}, + [SOUND_MDB_HARMONICS] = {"%", 0, 1, 0, 100, 50}, + [SOUND_MDB_CENTER] = {"Hz", 0, 10, 20, 300, 60}, + [SOUND_MDB_SHAPE] = {"Hz", 0, 10, 50, 300, 90}, + [SOUND_MDB_ENABLE] = {"", 0, 1, 0, 1, 0}, + [SOUND_SUPERBASS] = {"", 0, 1, 0, 1, 0}, +#endif }; #endif |