coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly helps reduce audio corruption on buffer underflows.
This commit is contained in:
parent
1df00aff39
commit
b5511ac6bf
|
@ -1579,6 +1579,7 @@ OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
|
|||
needNotify = 1;
|
||||
}
|
||||
}
|
||||
ioData->mBuffers[0].mDataByteSize = dataProvided;
|
||||
|
||||
OSSpinLockUnlock(&wwo->lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue