Fix peak handling in replaygain (FS#11981). This bug was introduced with r29388 and is caused by calling convert_gain() for peak values. This results in very low output volume if 'Prevent Clipping' is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29509 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f96c254b76
commit
708f5508ad
1 changed files with 2 additions and 2 deletions
|
@ -1485,12 +1485,12 @@ intptr_t dsp_configure(struct dsp_config *dsp, int setting, intptr_t value)
|
|||
|
||||
case DSP_SET_TRACK_PEAK:
|
||||
if (dsp == &AUDIO_DSP)
|
||||
dsp_set_gain_var(&track_peak, convert_gain(value));
|
||||
dsp_set_gain_var(&track_peak, value);
|
||||
break;
|
||||
|
||||
case DSP_SET_ALBUM_PEAK:
|
||||
if (dsp == &AUDIO_DSP)
|
||||
dsp_set_gain_var(&album_peak, convert_gain(value));
|
||||
dsp_set_gain_var(&album_peak, value);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue