Alsa driver: avoid getting ahead of dsound mixer
davmac at davmac.org
Thu Nov 3 21:07:51 CST 2005
This is a second patch to continue the Direct Sound work. This patch fixes some issues with wine's Alsa driver. Sounds can be played twice if using the Alsa "plug" device or any other non-direct-hardware device; this patch fixes it. It also removes the call to Alsa internal function _snd_pcm_mmap_hw_ptr(). As a side benefit, the current play position is correctly returned as 0 to dsound when the device is stopped.
Avoid getting ahead of dsound mixer when using non-hw device. Also avoid using internal ALSA call to retrieve hardware play position.
Davin McCall davmac at davmac.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7952 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051104/ffb91e01/dav-wine-progressive-patch2-0001.obj
More information about the wine-patches