summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/codec-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/codec-jz4740.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c b/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c
index 3a124e1356..ac78be522b 100644
--- a/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/codec-jz4740.c
@@ -27,8 +27,11 @@
27 27
28/* TODO */ 28/* TODO */
29const struct sound_settings_info audiohw_settings[] = { 29const struct sound_settings_info audiohw_settings[] = {
30 /* HAVE_SW_VOLUME_CONTROL */ 30#ifdef HAVE_SW_VOLUME_CONTROL
31 [SOUND_VOLUME] = {"dB", 0, 1, SW_VOLUME_MIN, 6, 0}, 31 [SOUND_VOLUME] = {"dB", 0, 1, SW_VOLUME_MIN, 6, 0},
32#else
33 [SOUND_VOLUME] = {"dB", 0, 1, 0, 6, 0},
34#endif
32 /* HAVE_SW_TONE_CONTROLS */ 35 /* HAVE_SW_TONE_CONTROLS */
33 [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0}, 36 [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0},
34 [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0}, 37 [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0},