1
0
Fork 0
forked from len0rd/rockbox

iPod: Bass/Treble settings need 5 bits, not 4 - fixes bug report #5276. This also increases the CONFIG_BLOCK_VERSION on all platforms - this will reset your settings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9863 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-05-02 21:47:22 +00:00
parent 93ff94949c
commit a3be63d225

View file

@ -94,7 +94,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
#include "dsp.h"
#endif
#define CONFIG_BLOCK_VERSION 40
#define CONFIG_BLOCK_VERSION 41
#define CONFIG_BLOCK_SIZE 512
#define RTC_BLOCK_SIZE 44
@ -220,8 +220,8 @@ static const struct bit_entry rtc_bits[] =
{3, S_O(treble), 0, "treble", NULL }, /* 0..+6 */
#elif defined(HAVE_WM8975) || defined(HAVE_WM8758) \
|| defined(HAVE_WM8731) || defined(HAVE_WM8721)
{4 | SIGNED, S_O(bass), 0, "bass", NULL }, /* -6..+9 */
{4 | SIGNED, S_O(treble), 0, "treble", NULL }, /* -6..+9 */
{5 | SIGNED, S_O(bass), 0, "bass", NULL }, /* -6..+9 */
{5 | 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 */