diff options
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/codec-jz4740.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/codec-jz4740.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c b/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c index ef8c343035..c76c63dd78 100644 --- a/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c | |||
@@ -22,6 +22,23 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "jz4740.h" | 23 | #include "jz4740.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "audiohw.h" | ||
26 | |||
27 | /* TODO */ | ||
28 | const struct sound_settings_info audiohw_settings[] = { | ||
29 | [SOUND_VOLUME] = {"dB", 0, 1, -73, 6, -20}, | ||
30 | /* HAVE_SW_TONE_CONTROLS */ | ||
31 | [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0}, | ||
32 | [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0}, | ||
33 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, | ||
34 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, | ||
35 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, | ||
36 | #ifdef HAVE_RECORDING | ||
37 | [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, | ||
38 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, | ||
39 | [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 1}, | ||
40 | #endif | ||
41 | }; | ||
25 | 42 | ||
26 | static unsigned short codec_volume; | 43 | static unsigned short codec_volume; |
27 | static unsigned short codec_base_gain; | 44 | static unsigned short codec_base_gain; |