http://bugs.winehq.org/show_bug.cgi?id=28856
--- Comment #24 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-19 14:39:17 CST --- Vítor, I believe Maarten and/or Andrew will end up integrating a winepulse driver into Wine. So far for PA's promise to integrate with ALSA. :-( Still, no crackling from winepulse 1.3.24 does not prove that the 10ms write mmdevapi scenario in place since 1.3.25 will work without trouble.
render.c:1217: Test failed: Position delta 12960 not regular
Looking at your pre-restart logs from comment #21, it appears that it's not snd_pcm_delay which is at fault, rather than PA which is already in broken state: 2.178:trace:alsa:alsa_write_data XRun state avail -32, recovering [10x] At each underrun, all frames written so far are consumed, which makes it look like GetPosition advances too fast, whereas you probably heard nothing at all from the speakers.
so that wine directly accesses alsa
Can you use the registry since 1.4-rc4? "plug:dmix" might work. Either it'll block all sounds from PA or PA will sit in dmix' back, without improvement. You can also use plughw:0 via winecfg, blocking PA from access.
BTW, I've submitted PA bug reports https://bugs.freedesktop.org/show_bug.cgi?id=46296 https://bugs.freedesktop.org/show_bug.cgi?id=46297 Let's hope for the best.