summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-04-10 13:04:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-04-10 13:04:30 +0200
commite955fbc36e2c86e1c005c5a5ae57bda689071a9f (patch)
tree7c87231df3a1eb73e94efb26e066f8006125d62f /drivers
parent6c2d36271d3ef3761ebcf611da2d270a6aac49bf (diff)
CoreAudio: Fix iphone build after audio device refactor (#17742)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/coreaudio/audio_driver_coreaudio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/coreaudio/audio_driver_coreaudio.h b/drivers/coreaudio/audio_driver_coreaudio.h
index 1ef474ac19..9891920263 100644
--- a/drivers/coreaudio/audio_driver_coreaudio.h
+++ b/drivers/coreaudio/audio_driver_coreaudio.h
@@ -56,9 +56,11 @@ class AudioDriverCoreAudio : public AudioDriver {
Vector<int32_t> 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,