Aric Stewart : coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly helps reduce audio corruption on buffer underflows.
Module: wine Branch: master Commit: b5511ac6bfb1613aabc6e9b11a1272117783ce52 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5511ac6bfb1613aabc6e9b11a... Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Feb 21 11:15:53 2008 -0600 coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly helps reduce audio corruption on buffer underflows. --- dlls/winecoreaudio.drv/audio.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/winecoreaudio.drv/audio.c b/dlls/winecoreaudio.drv/audio.c index ee089ab..ec5a096 100644 --- a/dlls/winecoreaudio.drv/audio.c +++ b/dlls/winecoreaudio.drv/audio.c @@ -1579,6 +1579,7 @@ OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon, needNotify = 1; } } + ioData->mBuffers[0].mDataByteSize = dataProvided; OSSpinLockUnlock(&wwo->lock);
participants (1)
-
Alexandre Julliard