AEC3: Remove ERLE uncertainty code that has no effect
Removing code that has no audible effect. Bug: webrtc:8671 Change-Id: Ibd7d0d19d760ae16b09285498c2ee09b42eb5968 Reviewed-on: https://webrtc-review.googlesource.com/c/106301 Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25250}
This commit is contained in:
parent
4b7a4121ef
commit
1ffee36cb9
@ -64,19 +64,6 @@ void AecState::GetResidualEchoScaling(
|
||||
}
|
||||
|
||||
absl::optional<float> AecState::ErleUncertainty() const {
|
||||
bool filter_has_had_time_to_converge;
|
||||
if (config_.filter.conservative_initial_phase) {
|
||||
filter_has_had_time_to_converge =
|
||||
strong_not_saturated_render_blocks_ >= 1.5f * kNumBlocksPerSecond;
|
||||
} else {
|
||||
filter_has_had_time_to_converge =
|
||||
strong_not_saturated_render_blocks_ >= 0.8f * kNumBlocksPerSecond;
|
||||
}
|
||||
|
||||
if (!filter_has_had_time_to_converge) {
|
||||
return 1.f;
|
||||
}
|
||||
|
||||
if (SaturatedEcho() && use_legacy_saturation_behavior_) {
|
||||
return 1.f;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user