diff options
| author | Rémi Verschelde | 2018-04-10 13:04:30 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-14 21:44:57 +0200 |
| commit | 3dc4447cb8d0f2099f67aa2a718b95e5d9ccf474 (patch) | |
| tree | 141ab176d432fb5e02da22b209ca76e047cb1879 | |
| parent | 9a21f964bac416dc2d7a20503816a043fb2a3599 (diff) | |
| download | godot-3dc4447cb8d0f2099f67aa2a718b95e5d9ccf474.tar.gz godot-3dc4447cb8d0f2099f67aa2a718b95e5d9ccf474.tar.zst godot-3dc4447cb8d0f2099f67aa2a718b95e5d9ccf474.zip | |
CoreAudio: Fix iphone build after audio device refactor (#17742)
(cherry picked from commit e955fbc36e2c86e1c005c5a5ae57bda689071a9f)
| -rw-r--r-- | drivers/coreaudio/audio_driver_coreaudio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/coreaudio/audio_driver_coreaudio.h b/drivers/coreaudio/audio_driver_coreaudio.h index 1ef474ac1..989192026 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, |
