Fix a UInt32 variable type

This commit is contained in:
Chris Robinson
2020-11-24 16:43:38 -08:00
parent f16692ecf8
commit 28278a9c15
+1 -1
View File
@@ -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)