diff options
Diffstat (limited to 'firmware/drivers/audio/tlv320.c')
-rw-r--r-- | firmware/drivers/audio/tlv320.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/tlv320.c b/firmware/drivers/audio/tlv320.c index 8839078c82..d3669a2cfd 100644 --- a/firmware/drivers/audio/tlv320.c +++ b/firmware/drivers/audio/tlv320.c | |||
@@ -37,9 +37,11 @@ const struct sound_settings_info audiohw_settings[] = { | |||
37 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, | 37 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, |
38 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, | 38 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, |
39 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, | 39 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, |
40 | #ifdef HAVE_RECORDING | ||
40 | [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, | 41 | [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23}, |
41 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, | 42 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23}, |
42 | [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 1}, | 43 | [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 1}, |
44 | #endif | ||
43 | }; | 45 | }; |
44 | 46 | ||
45 | /* convert tenth of dB volume (-840..0) to master volume register value */ | 47 | /* convert tenth of dB volume (-840..0) to master volume register value */ |