[PATCH (try2)] winecoreaudio.drv: Improve underrun handling

Andrew Eikum aeikum at codeweavers.com
Mon Jan 30 16:02:59 CST 2012


---

Basically unchanged from try1, but cleaned up a bit. More extensive
testing of the AudioQueue API reveals that this is the best way to do
it. On OSX 10.5, AudioQueueEnqueueWithParameters() returns a bogus
start time if no start time is requested (ie NULL is passed), so we're
forced to keep track of the next buffer's start time ourselves.

 dlls/winecoreaudio.drv/mmdevdrv.c |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winecoreaudio.drv-Improve-underrun-handling.patch
Type: text/x-patch
Size: 2746 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120130/9b032b9d/attachment.bin>


More information about the wine-patches mailing list