Alsa driver: avoid getting ahead of dsound mixer

Davin McCall davmac at
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dav-wine-progressive-patch2.patch
Type: application/octet-stream
Size: 7952 bytes
Desc: not available
Url :

More information about the wine-patches mailing list