diff options
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index cee8c06294..110c2c91b8 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -97,8 +97,8 @@ static const struct sound_settings_info sound_settings_table[] = { [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 8, 8, NULL}, [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 8, 8, NULL}, [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 15, 2, NULL}, - [SOUND_ADC_LEFT_GAIN] = {"dB", 1, 1,-128, 48, 0, NULL}, - [SOUND_ADC_RIGHT_GAIN]= {"dB", 1, 1,-128, 48, 0, NULL}, + [SOUND_DECIMATOR_LEFT_GAIN] = {"dB", 1, 1,-128, 48, 0, NULL}, + [SOUND_DECIMATOR_RIGHT_GAIN]= {"dB", 1, 1,-128, 48, 0, NULL}, #endif }; @@ -762,8 +762,8 @@ int sound_val2phys(int setting, int value) result = value * 20; /* (30/15) *10 */ break; - case SOUND_ADC_LEFT_GAIN: - case SOUND_ADC_RIGHT_GAIN: + case SOUND_DECIMATOR_LEFT_GAIN: + case SOUND_DECIMATOR_RIGHT_GAIN: result = value * 5; /* (1/2) *10 */ break; |