Updated the behavior for the filter adaptation in echo canceller 3

This CL adjusts the filter adaptation behavior to better handle
reverberant environments and environments with poor SNR.

It furthermore updates the unittests to handle the reduced adaptation
speed.

Bug: webrtc:8661
Change-Id: I5f1b5a4a34b333bd6c643ed3727899d0838dbf90
Reviewed-on: https://webrtc-review.googlesource.com/34184
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21323}
This commit is contained in:
Per Åhgren
2017-12-18 11:38:39 +01:00
committed by Commit Bot
parent e98c3de793
commit 019008bd93
5 changed files with 38 additions and 26 deletions

View File

@ -1162,12 +1162,12 @@ struct EchoCanceller3Config {
struct Filter {
size_t length_blocks = 12;
float shadow_rate = 0.5f;
float leakage_converged = 0.01f;
float leakage_diverged = 1.f / 60.f;
float error_floor = 0.1f;
float main_noise_gate = 220075344.f;
float shadow_noise_gate = 220075344.f;
float shadow_rate = 0.1f;
float leakage_converged = 0.005f;
float leakage_diverged = 0.05f;
float error_floor = 0.001f;
float main_noise_gate = 20075344.f;
float shadow_noise_gate = 20075344.f;
} filter;
struct Erle {