summaryrefslogtreecommitdiffstats
path: root/apps/dsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dsp.c')
-rw-r--r--apps/dsp.c8
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)
case DSP_SET_TRACK_GAIN:
if (dsp == &AUDIO_DSP)
- dsp_set_gain_var(&track_gain, value);
+ dsp_set_gain_var(&track_gain, convert_gain(value));
break;
case DSP_SET_ALBUM_GAIN:
if (dsp == &AUDIO_DSP)
- dsp_set_gain_var(&album_gain, value);
+ dsp_set_gain_var(&album_gain, convert_gain(value));
break;
case DSP_SET_TRACK_PEAK:
if (dsp == &AUDIO_DSP)
- dsp_set_gain_var(&track_peak, value);
+ dsp_set_gain_var(&track_peak, convert_gain(value));
break;
case DSP_SET_ALBUM_PEAK:
if (dsp == &AUDIO_DSP)
- dsp_set_gain_var(&album_peak, value);
+ dsp_set_gain_var(&album_peak, convert_gain(value));
break;
default: