Correct audioproc_f to support the new echo canceller activation
The introduction of the new AEC proxies caused audioproc_f to fail. This CL corrects audioproc_f so that the AEC2 and AECM echo cancellers are properly activated using the new AEC proxies. Bug: webrtc:9535 Change-Id: I1be59a9277aad8f51765c26e34ab16b63bcaeb42 Reviewed-on: https://webrtc-review.googlesource.com/94774 Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24340}
This commit is contained in:
@ -277,7 +277,7 @@ void AecDumpBasedSimulator::HandleMessage(
|
||||
std::cout << "Setting used in config:" << std::endl;
|
||||
}
|
||||
Config config;
|
||||
AudioProcessing::Config apm_config;
|
||||
AudioProcessing::Config apm_config = ap_->GetConfig();
|
||||
|
||||
if (msg.has_aec_enabled() || settings_.use_aec) {
|
||||
bool enable = settings_.use_aec ? *settings_.use_aec : msg.aec_enabled();
|
||||
|
Reference in New Issue
Block a user