AEC3: Reseting the ERLE at pre-amplifier gain changes

In this CL the ERLE estimator is reset after a pre-amplifier gain change is communicated to APM.

Bug: webrtc:9805
Change-Id: I040f344e4607e862240250f9478d06de0d58a096
Reviewed-on: https://webrtc-review.googlesource.com/103222
Commit-Queue: Per Åhgren <peah@webrtc.org>
Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24933}
This commit is contained in:
Per Åhgren
2018-10-02 17:00:59 +02:00
committed by Commit Bot
parent b45bdb524c
commit d2650d1a28
5 changed files with 31 additions and 11 deletions

View File

@ -207,6 +207,7 @@ class AecState {
EchoAudibility echo_audibility_;
ReverbModelEstimator reverb_model_estimator_;
SubtractorOutputAnalyzer subtractor_output_analyzer_;
bool enable_erle_resets_at_gain_changes_ = true;
RTC_DISALLOW_COPY_AND_ASSIGN(AecState);
};