From 84d1adb118a7ee69b99a73a8d9f856f23d8f6a06 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 24 Dec 2018 15:19:37 +0100 Subject: [PATCH] avfilter/af_sofalizer: do not reduce LFE by 6dB It is already reduced enough. --- libavfilter/af_sofalizer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c index 90eb3534a4..6512a0ee53 100644 --- a/libavfilter/af_sofalizer.c +++ b/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;