diff options
Diffstat (limited to 'webrtc/modules/audio_device/ios/audio_device_ios.h')
-rw-r--r-- | webrtc/modules/audio_device/ios/audio_device_ios.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webrtc/modules/audio_device/ios/audio_device_ios.h b/webrtc/modules/audio_device/ios/audio_device_ios.h index 8f8ba0a9c5..c4eb0d6f64 100644 --- a/webrtc/modules/audio_device/ios/audio_device_ios.h +++ b/webrtc/modules/audio_device/ios/audio_device_ios.h @@ -182,7 +182,10 @@ class AudioDeviceIOS : public AudioDeviceGeneric { bool InitPlayOrRecord(); // Closes and deletes the voice-processing I/O unit. - bool ShutdownPlayOrRecord(); + void ShutdownPlayOrRecord(); + + // Helper method for destroying the existing audio unit. + void DisposeAudioUnit(); // Callback function called on a real-time priority I/O thread from the audio // unit. This method is used to signal that recorded audio is available. |