AEC3: Remove parameters for the legacy filter naming

Bug: webrtc:8671
Change-Id: Ia5f8e33b9646e2b922428a72364cbbca47091579
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173092
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31030}
This commit is contained in:
Per Åhgren
2020-04-07 22:13:41 +02:00
committed by Commit Bot
parent dfae553e3a
commit 8b844f21e1
5 changed files with 3 additions and 95 deletions

View File

@ -213,15 +213,6 @@ void CopyBufferIntoFrame(const AudioBuffer& buffer,
EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) {
EchoCanceller3Config adjusted_cfg = config;
if (adjusted_cfg.filter.use_legacy_filter_naming) {
adjusted_cfg.filter.refined = adjusted_cfg.filter.main;
adjusted_cfg.filter.refined_initial = adjusted_cfg.filter.main_initial;
adjusted_cfg.filter.coarse = adjusted_cfg.filter.shadow;
adjusted_cfg.filter.coarse_initial = adjusted_cfg.filter.shadow_initial;
adjusted_cfg.filter.enable_coarse_filter_output_usage =
adjusted_cfg.filter.enable_shadow_filter_output_usage;
}
if (field_trial::IsEnabled("WebRTC-Aec3UseShortConfigChangeDuration")) {
adjusted_cfg.filter.config_change_duration_blocks = 10;
}