AEC3: Prevent diverging coarse filter from influencing the refined filter

After the refined filter has been determined to perform better than
the coarse filter, and the coefficients of the coarse filters are
overwritten by the ones from the refined filter, at least 100 ms have
to pass before the adaptation of the refined filter is allowed to speed
up due to good coarse filter performance.

This change solves the vicious circle described in webrtc:12265, where
the coarse and refined filters can diverge over time.

This feature can be disabled remotely via a kill-switch. When disabled
the AEC output is bit-exact to before the change.

Bug: webrtc:12265,chromium:1155477
Change-Id: Iacd6e325e987dd8a475bb3e8163fee714c65b20a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/196501
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32801}
This commit is contained in:
Gustaf Ullberg
2020-12-08 13:03:55 +01:00
committed by Commit Bot
parent 04ed0a0773
commit 992a96f68e
11 changed files with 42 additions and 6 deletions

View File

@ -1 +1 @@
ed1172c80a1a001a8aa7ac0680a99018cbb7d278
365a02046fdb30357d649e73766d2f6eb2b33677

View File

@ -1 +1 @@
a1dd718a6882bf8033a934e5beec73086cc91240
847035cbe0bc7ee0620c32fa5ac857cc5b2c7ec4