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 8580f159c29f91ba2269956c2e519759fb2b7399..694f2cd90c8f5cc702573a7ad1046b2e9983c151 100644 |
--- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
+++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc |
@@ -403,8 +403,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; |