diff options
author | Chris Robinson <[email protected]> | 2020-11-20 22:02:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-20 22:02:20 -0800 |
commit | 54afcbe113b532c8ef646ebad7cacb174b2f2511 (patch) | |
tree | 99000ee9193188440e0fb8c5d5e3e6f681f452d4 /alc/backends/coreaudio.cpp | |
parent | 2cb2ffef72e19737e457048aae57d1c4856142bf (diff) |
Use clearer variable names
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 889a1c67..a6d33199 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -563,7 +563,7 @@ void CoreAudioCapture::open(const ALCchar *name) UInt32 outputFrameCount{}; propertySize = sizeof(outputFrameCount); err = AudioUnitGetProperty(mAudioUnit, kAudioUnitProperty_MaximumFramesPerSlice, - kAudioUnitScope_Output, 0, &outputFrameCount, &propertySize); + kAudioUnitScope_Input, 0, &outputFrameCount, &propertySize); if(err != noErr || propertySize != sizeof(outputFrameCount)) throw al::backend_exception{ALC_INVALID_VALUE, "Could not get input frame count: %u", err}; |