AEC3: do not wait for the filter convergence flag when the stationarity init flag is set.
Bug: webrtc:10554 Change-Id: Ib380cd3405a2491745ad5b729f3733b8e7d07d3f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133200 Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Jesus de Vicente Pena <devicentepena@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27728}
This commit is contained in:
committed by
Commit Bot
parent
67fb919b5e
commit
ba801f675b
@ -38,7 +38,8 @@ class EchoAudibility {
|
||||
rtc::ArrayView<float> residual_scaling) const {
|
||||
for (size_t band = 0; band < residual_scaling.size(); ++band) {
|
||||
if (render_stationarity_.IsBandStationary(band) &&
|
||||
filter_has_had_time_to_converge) {
|
||||
(filter_has_had_time_to_converge ||
|
||||
use_render_stationarity_at_init_)) {
|
||||
residual_scaling[band] = 0.f;
|
||||
} else {
|
||||
residual_scaling[band] = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user