http://bugs.winehq.org/show_bug.cgi?id=14812
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #2 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-08-10 00:28:57 --- I don't know whether this is a directsound error or not, but I doubt it is. Sound underflow/overflows usually don't cause crashes, and I don't see anything here that indicates it's a sound problem.
If you still think it's a problem, edit dlls/winealsa.drv/dsoutput.c
Change snd_pcm_uframes_t used = This->mmap_buflen_frames - snd_pcm_avail_update(This->pcm); To snd_pcm_sframes_t used = This->mmap_buflen_frames - snd_pcm_avail_update(This->pcm);
if (used < 0) { snd_pcm_forward(This->pcm, -used); used = 0; }
I've sent this patch to wine-patches, but AJ is on vacation. If there really is an underrun this will at least recover from it.