Index: webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
diff --git a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
index c2983fc62516fb6a6dfd3679a2ddae0616522160..1a68731df319e8fa40f6c54bf8d32995e1b2b928 100644 |
--- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
+++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
@@ -399,8 +399,7 @@ void AecDumpBasedSimulator::HandleMessage( |
if (msg.has_hpf_enabled() || settings_.use_hpf) { |
bool enable = settings_.use_hpf ? *settings_.use_hpf : msg.hpf_enabled(); |
- RTC_CHECK_EQ(AudioProcessing::kNoError, |
- ap_->high_pass_filter()->Enable(enable)); |
+ apm_config.high_pass_filter.enabled = enable; |
if (settings_.use_verbose_logging) { |
std::cout << " hpf_enabled: " << (enable ? "true" : "false") |
<< std::endl; |