Allowing reduced computations in the noise suppressor when the output is not used
This CL adds functionality in the noise suppressor that allows the computational complexity to be reduced when the output of APM is not used. Bug: b/177830919 Change-Id: I849351ba9559fae770e4667d78e38abde5230eed Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/211342 Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33477}
This commit is contained in:
@ -679,6 +679,10 @@ void AudioProcessingImpl::HandleCaptureOutputUsedSetting(
|
||||
submodules_.echo_controller->SetCaptureOutputUsage(
|
||||
capture_.capture_output_used);
|
||||
}
|
||||
if (submodules_.noise_suppressor) {
|
||||
submodules_.noise_suppressor->SetCaptureOutputUsage(
|
||||
capture_.capture_output_used);
|
||||
}
|
||||
}
|
||||
|
||||
void AudioProcessingImpl::SetRuntimeSetting(RuntimeSetting setting) {
|
||||
|
||||
Reference in New Issue
Block a user