avfilter/af_sofalizer: do not reduce LFE by 6dB

It is already reduced enough.
pull/304/head^2
Paul B Mahol 6 years ago
parent cdbf8847ea
commit 84d1adb118
  1. 4
      libavfilter/af_sofalizer.c

@ -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;

Loading…
Cancel
Save