diff options
author | kcat <chris.kcat@gmail.com> | 2019-08-06 23:11:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 23:11:55 -0700 |
commit | 50c59dab8f8ec460b05681d545b6f5a0b3372097 (patch) | |
tree | 276f60c85fdb78a62c0bd2cfc74a0d61be0d7197 | |
parent | 80a85febcfb44369b7c84f4d64a7e53bf390f920 (diff) | |
parent | ad059fb62eaf49d06b190732936b81b1f366b4f6 (diff) |
Merge pull request #321 from Frozen-Tofu/master
no AudioObjectPropertyAddress on iOS
-rw-r--r-- | alc/backends/coreaudio.cpp | 2 |
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; |