aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/coreaudio.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-24 16:43:38 -0800
committerChris Robinson <[email protected]>2020-11-24 16:43:38 -0800
commit28278a9c1545af18965a75ed6a1f6ec3e2a64d03 (patch)
tree104e8a625aba203ced0c23ca72aba3cb094b43d9 /alc/backends/coreaudio.cpp
parentf16692ecf88a321f44ebe50f8a83bb23f13ba23a (diff)
Fix a UInt32 variable type
Diffstat (limited to 'alc/backends/coreaudio.cpp')
-rw-r--r--alc/backends/coreaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp
index 2081e1a4..31de700c 100644
--- a/alc/backends/coreaudio.cpp
+++ b/alc/backends/coreaudio.cpp
@@ -469,7 +469,7 @@ void CoreAudioCapture::open(const ALCchar *name)
throw al::backend_exception{ALC_INVALID_VALUE, "Could not set capture callback: %u", err};
// Disable buffer allocation for capture
- Uint32 flag{0};
+ UInt32 flag{0};
err = AudioUnitSetProperty(mAudioUnit, kAudioUnitProperty_ShouldAllocateBuffer,
kAudioUnitScope_Output, 1, &flag, sizeof(flag));
if(err != noErr)