http://bugs.winehq.org/show_bug.cgi?id=20799
--- Comment #84 from Raymond superquad.vortex2@gmail.com 2010-06-11 18:44:52 --- (In reply to comment #66)
can you explain why alsa need at leas 3 buffers
Can't answer that, unfortunately.
What if you try running the app using LD_PRELOAD, to force ALSA to load and stay loaded?
$ LD_PRELOAD=libasound.so.2 wine ...
The major problem is dsoutput.c also ignore those fatal errors returned by alsa functions such as snd_pcm_hw_params similar to waveout.c in bug 22034
err = snd_pcm_hw_params(pcm, hw_params);
/* ALSA needs at least 3 buffers to work successfully */ This->mmap_commitahead = 3 * psize; while (This->mmap_commitahead <= 512) This->mmap_commitahead += psize;