Commit 029cd7b1 authored by Per Åhgren's avatar Per Åhgren Committed by Commit Bot

Re-enable keytype suppression for APM in the renderer process

The activation of the keytype suppression was by mistake removed in
Chrome for all calls running the processing in the renderer process.
The CL that caused this was
https://chromium-review.googlesource.com/c/chromium/src/+/1495528

This CL re-enables keytype suppression.

Bug: chromium:1033455
Change-Id: Ieaeafc53f2d4b0d8e87400544e859fd0e0e68886
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984305Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Per Åhgren <peah@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729943}
parent d3cdded2
......@@ -522,6 +522,8 @@ void MediaStreamAudioProcessor::InitializeAudioProcessingModule(
// Experimental options provided at creation.
webrtc::Config config;
config.Set<webrtc::ExperimentalNs>(new webrtc::ExperimentalNs(
properties.goog_experimental_noise_suppression));
// If the experimental AGC is enabled, check for overridden config params.
if (properties.goog_experimental_auto_gain_control) {
......
......@@ -750,6 +750,7 @@ _CONFIG = [
'webrtc::EchoCanceller3Config',
'webrtc::EchoCanceller3Factory',
'webrtc::ExperimentalAgc',
'webrtc::ExperimentalNs',
'webrtc::MediaStreamTrackInterface',
'webrtc::ObserverInterface',
'webrtc::StreamConfig',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment