APM: Move the TransientSuppression activation to the apm_config
This CL moves the activation of the transient suppression to the APM config. Bug: webrtc:5298 Change-Id: Iba7975bec4654c3df8834fd5b7d1082ff53641dd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/163985 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30137}
This commit is contained in:
@ -400,7 +400,7 @@ void AudioProcessingSimulator::CreateAudioProcessor() {
|
||||
AudioProcessing::Config apm_config;
|
||||
std::unique_ptr<EchoControlFactory> echo_control_factory;
|
||||
if (settings_.use_ts) {
|
||||
config.Set<ExperimentalNs>(new ExperimentalNs(*settings_.use_ts));
|
||||
apm_config.transient_suppression.enabled = *settings_.use_ts;
|
||||
}
|
||||
if (settings_.multi_channel_render) {
|
||||
apm_config.pipeline.multi_channel_render = *settings_.multi_channel_render;
|
||||
|
||||
Reference in New Issue
Block a user