diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-24 15:19:37 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-24 15:24:20 +0100 |
commit | 84d1adb118a7ee69b99a73a8d9f856f23d8f6a06 (patch) | |
tree | bb77f55b79062b0f68314e9fd7a50120dea65221 | |
parent | cdbf8847ea97a985dfd55432e1384bb7fe5d2d3b (diff) | |
download | ffmpeg-84d1adb118a7ee69b99a73a8d9f856f23d8f6a06.tar.gz |
avfilter/af_sofalizer: do not reduce LFE by 6dB
It is already reduced enough.
-rw-r--r-- | libavfilter/af_sofalizer.c | 4 |
1 files 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; |