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,