mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -1579,6 +1579,7 @@ OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
|
|||
needNotify = 1;
|
||||
}
|
||||
}
|
||||
ioData->mBuffers[0].mDataByteSize = dataProvided;
|
||||
|
||||
OSSpinLockUnlock(&wwo->lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue