avfilter/af_sofalizer: do not reduce LFE by 6dB

It is already reduced enough.
This commit is contained in:
Paul B Mahol 2018-12-24 15:19:37 +01:00
parent cdbf8847ea
commit 84d1adb118

View File

@ -919,8 +919,8 @@ static int config_input(AVFilterLink *inlink)
inlink->max_samples = s->framesize;
}
/* gain -3 dB per channel, -6 dB to get LFE on a similar level */
s->gain_lfe = expf((s->gain - 3 * inlink->channels - 6 + s->lfe_gain) / 20 * M_LN10);
/* gain -3 dB per channel */
s->gain_lfe = expf((s->gain - 3 * inlink->channels + s->lfe_gain) / 20 * M_LN10);
s->n_conv = inlink->channels;