[Winmm/winealsa] Don't use asynchronous callbacks in dsound any more

Maarten Lankhorst m.b.lankhorst at gmail.com
Sun Dec 24 13:09:30 CST 2006


Instead of using asynchronous callbacks that uses signals, use a
seperate thread that can be cancelled, this prevents deadlock issues.

Basically we use snd_pcm_wait() that tells us when enough room is free
to commit another buffer, then we commit the previous buffer and make
the next buffer ready.

Since snd_pcm_wait() uses poll(), we don't have signals in winealsa any more.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmap.patch
Type: text/x-diff
Size: 10724 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061224/c0b6efdc/mmap.bin


More information about the wine-patches mailing list