Add support for toggling builtin voice processing on iOS

Bug: None
Change-Id: I3b64afdaed4777960124f248840f36598bba2ed4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/195443
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32742}
This commit is contained in:
Sam Zackrisson
2020-11-26 12:18:11 +01:00
committed by Commit Bot
parent 01b3e24a83
commit 76443eafa9
10 changed files with 55 additions and 18 deletions

View File

@ -17,7 +17,13 @@
namespace webrtc {
rtc::scoped_refptr<AudioDeviceModule> CreateAudioDeviceModule();
// If |bypass_voice_processing| is true, WebRTC will attempt to disable hardware
// audio processing on iOS.
// Warning: Setting |bypass_voice_processing| will have unpredictable
// consequences for the audio path in the device. It is not advisable to use in
// most scenarios.
rtc::scoped_refptr<AudioDeviceModule> CreateAudioDeviceModule(
bool bypass_voice_processing = false);
} // namespace webrtc