diff options
author | Chris Robinson <[email protected]> | 2020-11-24 16:43:38 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-24 16:43:38 -0800 |
commit | 28278a9c1545af18965a75ed6a1f6ec3e2a64d03 (patch) | |
tree | 104e8a625aba203ced0c23ca72aba3cb094b43d9 /alc/backends/coreaudio.cpp | |
parent | f16692ecf88a321f44ebe50f8a83bb23f13ba23a (diff) |
Fix a UInt32 variable type
Diffstat (limited to 'alc/backends/coreaudio.cpp')
-rw-r--r-- | alc/backends/coreaudio.cpp | 2 |
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) |