ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sun Nov 6 20:47:28 2022 +0100| [e17628b720e696159405dfa8117950cf9d194808] | committer: Paul B Mahol
avfilter/af_speechnorm: change initial gain state Stops doing unwanted fade-in at start. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e17628b720e696159405dfa8117950cf9d194808 --- libavfilter/af_speechnorm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".