Change aggregation window of aecDivergentFilterFraction to 1 second.
BUG= Review-Url: https://codereview.webrtc.org/1942183002 Cr-Commit-Position: refs/heads/master@{#12617}
This commit is contained in:
parent
7dd7ab5c51
commit
3815655541
@ -47,8 +47,8 @@ static const int kDelayMetricsAggregationWindow = 1250; // 5 seconds at 16 kHz.
|
||||
// Divergence metric is based on audio level, which gets updated every
|
||||
// |kCountLen + 1| * 10 milliseconds. Divergence metric takes the statistics of
|
||||
// |kDivergentFilterFractionAggregationWindowSize| samples. Current value
|
||||
// corresponds to 0.5 seconds at 16 kHz.
|
||||
static const int kDivergentFilterFractionAggregationWindowSize = 25;
|
||||
// corresponds to 1 second at 16 kHz.
|
||||
static const int kDivergentFilterFractionAggregationWindowSize = 50;
|
||||
|
||||
// Quantities to control H band scaling for SWB input
|
||||
static const float cnScaleHband = 0.4f; // scale for comfort noise in H band.
|
||||
|
||||
@ -685,7 +685,7 @@ class EchoCancellation {
|
||||
// (Pre non-linear processing suppression) A_NLP = 10log_10(P_echo / P_a)
|
||||
AudioProcessing::Statistic a_nlp;
|
||||
|
||||
// Fraction of time that the AEC linear filter is divergent, in a 0.5-second
|
||||
// Fraction of time that the AEC linear filter is divergent, in a 1-second
|
||||
// non-overlapped aggregation window.
|
||||
float divergent_filter_fraction;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user