aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
authorLi Keqing <[email protected]>2019-08-07 13:29:26 +0800
committerLi Keqing <[email protected]>2019-08-07 13:29:26 +0800
commitad059fb62eaf49d06b190732936b81b1f366b4f6 (patch)
tree276f60c85fdb78a62c0bd2cfc74a0d61be0d7197 /alc/backends
parent80a85febcfb44369b7c84f4d64a7e53bf390f920 (diff)
no AudioObjectPropertyAddress on iOS
Diffstat (limited to 'alc/backends')
-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;