diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-11-06 22:47:28 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-11-07 10:32:48 +0300 |
commit | e17628b720e696159405dfa8117950cf9d194808 (patch) | |
tree | 4a2cb4fa756744f52e13c73ef643e0ce9f4b576f | |
parent | 7f4c5f6525dcf1513121de3f911c3210f6805ebc (diff) |
avfilter/af_speechnorm: change initial gain state
Stops doing unwanted fade-in at start.
-rw-r--r-- | libavfilter/af_speechnorm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_speechnorm.c b/libavfilter/af_speechnorm.c index cc0c08feef..4f56ad9a8f 100644 --- a/libavfilter/af_speechnorm.c +++ b/libavfilter/af_speechnorm.c @@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink) ChannelContext *cc = &s->cc[ch]; cc->state = -1; - cc->gain_state = 1.; + cc->gain_state = s->max_expansion; } switch (inlink->format) { |