Only enable residual echo detector when needed in level controller perf tests.

BUG=webrtc:6525,chromium:665885

Review-Url: https://codereview.webrtc.org/2505983002
Cr-Commit-Position: refs/heads/master@{#15122}
This commit is contained in:
ivoc 2016-11-17 01:04:18 -08:00 committed by Commit bot
parent 0bff12a63d
commit 377b60ce11

View File

@ -205,6 +205,7 @@ void RunTogetherWithApm(std::string test_description,
config.Set<ExtendedFilter>(new ExtendedFilter(true));
}
apm_config.level_controller.enabled = true;
apm_config.residual_echo_detector.enabled = include_default_apm_processing;
std::unique_ptr<AudioProcessing> apm;
apm.reset(AudioProcessing::Create(config));