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:
committed by
Commit Bot
parent
01b3e24a83
commit
76443eafa9
@ -17,10 +17,10 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
rtc::scoped_refptr<AudioDeviceModule> CreateAudioDeviceModule() {
|
||||
rtc::scoped_refptr<AudioDeviceModule> CreateAudioDeviceModule(bool bypass_voice_processing) {
|
||||
RTC_LOG(INFO) << __FUNCTION__;
|
||||
#if defined(WEBRTC_IOS)
|
||||
return new rtc::RefCountedObject<ios_adm::AudioDeviceModuleIOS>();
|
||||
return new rtc::RefCountedObject<ios_adm::AudioDeviceModuleIOS>(bypass_voice_processing);
|
||||
#else
|
||||
RTC_LOG(LERROR)
|
||||
<< "current platform is not supported => this module will self destruct!";
|
||||
|
||||
Reference in New Issue
Block a user