From ad059fb62eaf49d06b190732936b81b1f366b4f6 Mon Sep 17 00:00:00 2001 From: Li Keqing Date: Wed, 7 Aug 2019 13:29:26 +0800 Subject: no AudioObjectPropertyAddress on iOS --- alc/backends/coreaudio.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alc/backends/coreaudio.cpp') diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index b4b46382..cfa7703a 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -400,7 +400,9 @@ ALCenum CoreAudioCapture::open(const ALCchar *name) AudioComponentDescription desc; UInt32 outputFrameCount; UInt32 propertySize; +#if !TARGET_OS_IOS AudioObjectPropertyAddress propertyAddress; +#endif UInt32 enableIO; AudioComponent comp; OSStatus err; -- cgit v1.2.3