avfilter/af_speechnorm: change initial gain state

Stops doing unwanted fade-in at start.
This commit is contained in:
Paul B Mahol 2022-11-06 20:47:28 +01:00
parent 7f4c5f6525
commit e17628b720

View File

@ -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) {