Commit b5511ac6 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly…

coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly helps reduce audio corruption on buffer underflows.
parent 1df00aff
......@@ -1579,6 +1579,7 @@ OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
needNotify = 1;
}
}
ioData->mBuffers[0].mDataByteSize = dataProvided;
OSSpinLockUnlock(&wwo->lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment