History

avfilter/af_speechnorm: change initial gain state

Stops doing unwanted fade-in at start.

Paul B Mahol committed 4 years ago

Commit e17628b1 parent 7f4c5f61 file · +1 −1Browse files

Unified · Split

libavfilter/af_speechnorm.c+1−1
@@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink) · 535 unmodified lines
536 ChannelContext *cc = &s->cc[ch];536 ChannelContext *cc = &s->cc[ch];
537 537
538 cc->state = -1;538 cc->state = -1;
539 cc->gain_state = 1.;539 cc->gain_state = s->max_expansion;
540 }540 }
541 541
542 switch (inlink->format) {542 switch (inlink->format) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t