diff --git a/miniaudio.h b/miniaudio.h index bcd981bc..edcdb300 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -33885,12 +33885,14 @@ typedef struct ma_context_state_coreaudio ma_CFStringGetCString_proc CFStringGetCString; ma_CFRelease_proc CFRelease; +#if defined(MA_APPLE_DESKTOP) ma_handle hCoreAudio; ma_AudioObjectGetPropertyData_proc AudioObjectGetPropertyData; ma_AudioObjectGetPropertyDataSize_proc AudioObjectGetPropertyDataSize; ma_AudioObjectSetPropertyData_proc AudioObjectSetPropertyData; ma_AudioObjectAddPropertyListener_proc AudioObjectAddPropertyListener; ma_AudioObjectRemovePropertyListener_proc AudioObjectRemovePropertyListener; +#endif ma_handle hAudioUnit; /* Could possibly be set to AudioToolbox on later versions of macOS. */ ma_AudioComponentFindNext_proc AudioComponentFindNext;