[Resend] Alsa driver: avoid getting ahead of dsound mixer

Davin McCall davmac at davmac.org
Thu Nov 3 21:12:22 CST 2005

Patch should be inline this time.


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...
Name: dav-wine-progressive-patch2.patch
Type: text/x-patch
Size: 7952 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051104/42d395af/dav-wine-progressive-patch2.patch

More information about the wine-patches mailing list