mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
avfilter/af_speechnorm: change initial gain state
Stops doing unwanted fade-in at start.
This commit is contained in:
parent
7f4c5f6525
commit
e17628b720
@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink)
|
|||||||
ChannelContext *cc = &s->cc[ch];
|
ChannelContext *cc = &s->cc[ch];
|
||||||
|
|
||||||
cc->state = -1;
|
cc->state = -1;
|
||||||
cc->gain_state = 1.;
|
cc->gain_state = s->max_expansion;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (inlink->format) {
|
switch (inlink->format) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user