Index: webrtc/modules/audio_device/ios/audio_device_ios.mm |
diff --git a/webrtc/modules/audio_device/ios/audio_device_ios.mm b/webrtc/modules/audio_device/ios/audio_device_ios.mm |
index 0a8da0fcb180afe1f607cea54232c82bf886ff95..3a745a4b459cd6b6522a58cd3acfca21517debac 100644 |
--- a/webrtc/modules/audio_device/ios/audio_device_ios.mm |
+++ b/webrtc/modules/audio_device/ios/audio_device_ios.mm |
@@ -121,11 +121,11 @@ void AudioDeviceIOS::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) { |
audio_device_buffer_ = audioBuffer; |
} |
-int32_t AudioDeviceIOS::Init() { |
+AudioDeviceGeneric::InitStatus AudioDeviceIOS::Init() { |
LOGI() << "Init"; |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
if (initialized_) { |
- return 0; |
+ return InitStatus::OK; |
} |
#if !defined(NDEBUG) |
LogDeviceInfo(); |
@@ -146,7 +146,7 @@ int32_t AudioDeviceIOS::Init() { |
// to guarantee mono on the "input side" of the audio unit. |
UpdateAudioDeviceBuffer(); |
initialized_ = true; |
- return 0; |
+ return InitStatus::OK; |
} |
int32_t AudioDeviceIOS::Terminate() { |