diff options
Diffstat (limited to 'alc')
-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) |