diff options
Diffstat (limited to 'firmware/drivers/audio/wm8975.c')
-rw-r--r-- | firmware/drivers/audio/wm8975.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 297aabda78..c207895a97 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c | |||
@@ -42,9 +42,11 @@ const struct sound_settings_info audiohw_settings[] = { | |||
42 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, | 42 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, |
43 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, | 43 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, |
44 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, | 44 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, |
45 | #ifdef HAVE_RECORDING | ||
45 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, | 46 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, |
46 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, | 47 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, |
47 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, | 48 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, |
49 | #endif | ||
48 | }; | 50 | }; |
49 | 51 | ||
50 | /* convert tenth of dB volume (-730..60) to master volume register value */ | 52 | /* convert tenth of dB volume (-730..60) to master volume register value */ |