diff options
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 09fa3dac94..c3679d41f2 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -112,7 +112,19 @@ static const struct sound_settings_info sound_settings_table[] = { | |||
112 | [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23, NULL}, | 112 | [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23, NULL}, |
113 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23, NULL}, | 113 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23, NULL}, |
114 | [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 1, NULL}, | 114 | [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 1, 1, NULL}, |
115 | #endif | 115 | #elif defined(HAVE_WM8975) |
116 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
117 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
118 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16, NULL}, | ||
119 | #elif defined(HAVE_WM8758) | ||
120 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
121 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
122 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16, NULL}, | ||
123 | #elif defined(HAVE_WM8731) | ||
124 | [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
125 | [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0, NULL}, | ||
126 | [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16, NULL}, | ||
127 | #endif | ||
116 | }; | 128 | }; |
117 | 129 | ||
118 | const char *sound_unit(int setting) | 130 | const char *sound_unit(int setting) |