diff options
Diffstat (limited to 'apps/dsp.c')
-rw-r--r-- | apps/dsp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dsp.c b/apps/dsp.c index 3cff1918d7..c462fc37a6 100644 --- a/apps/dsp.c +++ b/apps/dsp.c | |||
@@ -1475,22 +1475,22 @@ intptr_t dsp_configure(struct dsp_config *dsp, int setting, intptr_t value) | |||
1475 | 1475 | ||
1476 | case DSP_SET_TRACK_GAIN: | 1476 | case DSP_SET_TRACK_GAIN: |
1477 | if (dsp == &AUDIO_DSP) | 1477 | if (dsp == &AUDIO_DSP) |
1478 | dsp_set_gain_var(&track_gain, value); | 1478 | dsp_set_gain_var(&track_gain, convert_gain(value)); |
1479 | break; | 1479 | break; |
1480 | 1480 | ||
1481 | case DSP_SET_ALBUM_GAIN: | 1481 | case DSP_SET_ALBUM_GAIN: |
1482 | if (dsp == &AUDIO_DSP) | 1482 | if (dsp == &AUDIO_DSP) |
1483 | dsp_set_gain_var(&album_gain, value); | 1483 | dsp_set_gain_var(&album_gain, convert_gain(value)); |
1484 | break; | 1484 | break; |
1485 | 1485 | ||
1486 | case DSP_SET_TRACK_PEAK: | 1486 | case DSP_SET_TRACK_PEAK: |
1487 | if (dsp == &AUDIO_DSP) | 1487 | if (dsp == &AUDIO_DSP) |
1488 | dsp_set_gain_var(&track_peak, value); | 1488 | dsp_set_gain_var(&track_peak, convert_gain(value)); |
1489 | break; | 1489 | break; |
1490 | 1490 | ||
1491 | case DSP_SET_ALBUM_PEAK: | 1491 | case DSP_SET_ALBUM_PEAK: |
1492 | if (dsp == &AUDIO_DSP) | 1492 | if (dsp == &AUDIO_DSP) |
1493 | dsp_set_gain_var(&album_peak, value); | 1493 | dsp_set_gain_var(&album_peak, convert_gain(value)); |
1494 | break; | 1494 | break; |
1495 | 1495 | ||
1496 | default: | 1496 | default: |