[PATCH 1/2] winecoreaudio: Fix AudioCaptureClient Get/ReleaseBuffer protocol. (v2)

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Jan 13 04:49:03 CST 2012


this patch can be applied stand alone.
Despite the 2 patches, there are issues left:

 - IAC_Reset is incorrect.  It must be careful with  inbuf_frames which is accessed by the callback.
 Currently, padding can grow < 0 past Reset!
 Also, it does not manage to restart the queue. The rReturned buffers need be enqueued again.

 - Francois' machine crashes in AudioCaptureClient_ReleaseBuffer http://test.winehq.org/data/5eecdc80e14d2c6cf74a64ac5423dd6ce7c37a3a/mac_fg-snow/winmm:mci.html
Mine doesn't, even without my patches.

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winecoreaudio-Fix-AudioCaptureClient-Get-ReleaseBuff.patch
Type: application/octet-stream
Size: 3961 bytes
Desc: 0001-winecoreaudio-Fix-AudioCaptureClient-Get-ReleaseBuff.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120113/e4ed4269/attachment-0001.obj>

More information about the wine-patches mailing list