[PATCH 3/3] winecoreaudio: Fix the Start/Stop/Reset cycle.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Jan 30 04:44:12 CST 2012


I've spent some time in an effort to make small patches,
artificially moving some parts.  Do not apply the
lock-less patch without this one.

-        /* fixme: for reasons not yet understood, the initially submitted
-         * packets are returned with 0 bytes.  Resubmit them. */
I overlooked the call to Reset prior to Start in the tests.

-    sc = AudioQueueFlush(This->aqueue);
Stop is pause (immediate).  Do not wait until all submitted frames
are played, which is what Flush does, according to Apple's documentation.
Only Reset may kill frames.

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-winecoreaudio-Fix-the-Start-Stop-Reset-cycle.patch
Type: application/octet-stream
Size: 3077 bytes
Desc: 0003-winecoreaudio-Fix-the-Start-Stop-Reset-cycle.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120130/8c7b6d20/attachment.obj>

More information about the wine-patches mailing list