From 07928fbb6436b24b28e49e0590e62588319fe78e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 18 Aug 2022 11:52:59 -0700 Subject: Fix the ringbuffer write size --- alc/backends/coreaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index f4190533..8b45fefe 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -585,7 +585,7 @@ OSStatus CoreAudioCapture::RecordProc(AudioUnitRenderActionFlags *ioActionFlags, return err; } - mRing->write(mCaptureData.data(), inNumberFrames * mFrameSize); + mRing->write(mCaptureData.data(), inNumberFrames); return noErr; } -- cgit v1.2.3