Aric Stewart : coreaudio: Set mDataByteSize of the buffer to the amount data provided. Greatly helps reduce audio corruption on buffer underflows.
Alexandre Julliard
julliard at winehq.org
Fri Feb 22 05:49:32 CST 2008
Module: wine
Branch: master
Commit: b5511ac6bfb1613aabc6e9b11a1272117783ce52
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5511ac6bfb1613aabc6e9b11a1272117783ce52
Author: Aric Stewart <aric at 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);
More information about the wine-cvs
mailing list