forked from len0rd/rockbox
Save bass/treble settings in iPod
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f45b333842
commit
34cd9cbe14
1 changed files with 4 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
|
||||||
#include "dsp.h"
|
#include "dsp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_BLOCK_VERSION 38
|
#define CONFIG_BLOCK_VERSION 39
|
||||||
#define CONFIG_BLOCK_SIZE 512
|
#define CONFIG_BLOCK_SIZE 512
|
||||||
#define RTC_BLOCK_SIZE 44
|
#define RTC_BLOCK_SIZE 44
|
||||||
|
|
||||||
|
|
@ -213,6 +213,9 @@ static const struct bit_entry rtc_bits[] =
|
||||||
#elif defined HAVE_UDA1380
|
#elif defined HAVE_UDA1380
|
||||||
{5, S_O(bass), 0, "bass", NULL }, /* 0..+24 */
|
{5, S_O(bass), 0, "bass", NULL }, /* 0..+24 */
|
||||||
{3, S_O(treble), 0, "treble", NULL }, /* 0..+6 */
|
{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
|
#endif
|
||||||
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
||||||
{5, S_O(loudness), 0, "loudness", NULL }, /* 0...17 */
|
{5, S_O(loudness), 0, "loudness", NULL }, /* 0...17 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue