From e955fbc36e2c86e1c005c5a5ae57bda689071a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 10 Apr 2018 13:04:30 +0200 Subject: [PATCH] CoreAudio: Fix iphone build after audio device refactor (#17742) --- drivers/coreaudio/audio_driver_coreaudio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/coreaudio/audio_driver_coreaudio.h b/drivers/coreaudio/audio_driver_coreaudio.h index 1ef474ac196..98919202630 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.h +++ b/drivers/coreaudio/audio_driver_coreaudio.h @@ -56,9 +56,11 @@ class AudioDriverCoreAudio : public AudioDriver { Vector samples_in; +#ifdef OSX_ENABLED static OSStatus output_device_address_cb(AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress *inAddresses, void *inClientData); +#endif static OSStatus output_callback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags,