summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/tsc2100.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/tsc2100.c')
-rw-r--r--firmware/drivers/audio/tsc2100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/tsc2100.c b/firmware/drivers/audio/tsc2100.c
index 08306b3823..dfa24cf848 100644
--- a/firmware/drivers/audio/tsc2100.c
+++ b/firmware/drivers/audio/tsc2100.c
@@ -35,10 +35,12 @@ const struct sound_settings_info audiohw_settings[] = {
35 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, 35 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0},
36 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, 36 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0},
37 [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, 37 [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100},
38#ifdef HAVE_RECORDING
38 [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 39, 23}, 39 [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 39, 23},
39 [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, 40 [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23},
40 [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, 41 [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23},
41#endif 42#endif
43#endif
42}; 44};
43static bool is_muted = false; 45static bool is_muted = false;
44/* convert tenth of dB volume to master volume register value */ 46/* convert tenth of dB volume to master volume register value */