snd_pcm_mmap_commit can return -EPIPE, using this as a value ended up triggering an assert <br>at dlls/dsound/mixer.c:DSOUND_BufPtrDiff (ptr1 &lt; buflen) while playing Tzar Anthology. With this patch, sound stutters but wine doesn&#39;t exit with an assert.<br>

<br>As for the last hunk in the patch, can someone confirm if this is the right thing to do in IDsDriverBufferImpl_Stop?<br>