Propagate TaskQueueFactory to AudioDeviceBuffer
keep using GlobalTaskQueueFactory in android/ios bindings. Switch to DefaultTaskQueueFactory in tests. Bug: webrtc:10284 Change-Id: I034c70542be5eeb830be86527830d51204fb2855 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130223 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27380}
This commit is contained in:
committed by
Commit Bot
parent
105a10aef0
commit
1c41be6e05
@ -10,6 +10,7 @@
|
||||
|
||||
#include "audio_device_module_ios.h"
|
||||
|
||||
#include "api/task_queue/global_task_queue_factory.h"
|
||||
#include "modules/audio_device/audio_device_config.h"
|
||||
#include "modules/audio_device/audio_device_generic.h"
|
||||
#include "rtc_base/checks.h"
|
||||
@ -69,7 +70,7 @@ namespace ios_adm {
|
||||
if (initialized_)
|
||||
return 0;
|
||||
|
||||
audio_device_buffer_.reset(new webrtc::AudioDeviceBuffer());
|
||||
audio_device_buffer_.reset(new webrtc::AudioDeviceBuffer(&GlobalTaskQueueFactory()));
|
||||
audio_device_.reset(new ios_adm::AudioDeviceIOS());
|
||||
RTC_CHECK(audio_device_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user