winealsa: Implement a light form of locking for dsoutput

Maarten Lankhorst m.b.lankhorst at gmail.com
Sun Jul 29 13:29:00 CDT 2007


 This differs from the previous attempts of locking by the fact it
doesn't try to lock everything, it only locks if an application tries to
write directly to writepos, which allows the mixer timer to write ahead
without alsa causing underruns. If an application has WRITEPRIMARY, the
mixer timer will call GetPosition with NULL arguments, which triggers
the old behavior again.

In less words: This causes the delay between writepos and playpos to be
dynamic, rather then static so dsound should experience less underruns.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-winealsa-Implement-a-light-form-of-locking-for-dsou.patch
Type: text/x-patch
Size: 9947 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070729/c65a9eaf/0006-winealsa-Implement-a-light-form-of-locking-for-dsou.bin


More information about the wine-patches mailing list