diff options
Diffstat (limited to 'firmware/drivers/audio/uda1380.c')
-rw-r--r-- | firmware/drivers/audio/uda1380.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/uda1380.c b/firmware/drivers/audio/uda1380.c index 388e59b1d2..a344a248b3 100644 --- a/firmware/drivers/audio/uda1380.c +++ b/firmware/drivers/audio/uda1380.c | |||
@@ -33,9 +33,11 @@ const struct sound_settings_info audiohw_settings[] = { | |||
33 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, | 33 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, |
34 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, | 34 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, |
35 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, | 35 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, |
36 | #ifdef HAVE_RECORDING | ||
36 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, | 37 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, |
37 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, | 38 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, |
38 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, | 39 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, |
40 | #endif | ||
39 | }; | 41 | }; |
40 | 42 | ||
41 | /* convert tenth of dB volume (-840..0) to master volume register value */ | 43 | /* convert tenth of dB volume (-840..0) to master volume register value */ |