aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/backends/coreaudio.cpp2
1 files changed, 2 insertions, 0 deletions
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;