Remove legacy EchoControlFactory::Create

Bug: webrtc:10913
Change-Id: I34af9abe76f5b08d7dc5c3e0281fafc14a71eed8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159031
Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org>
Reviewed-by: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29741}
This commit is contained in:
Gustaf Ullberg
2019-11-07 17:15:12 +01:00
committed by Commit Bot
parent b61ad3ac22
commit 2c6f373a27
5 changed files with 3 additions and 21 deletions

View File

@ -1783,6 +1783,7 @@ void AudioProcessingImpl::InitializeEchoController() {
if (echo_control_factory_) {
submodules_.echo_controller = echo_control_factory_->Create(
proc_sample_rate_hz(), num_reverse_channels(), num_proc_channels());
RTC_DCHECK(submodules_.echo_controller);
} else {
submodules_.echo_controller = std::make_unique<EchoCanceller3>(
EchoCanceller3Config(), proc_sample_rate_hz(), num_reverse_channels(),