[Bug 20799] Multiple games using OpenAL freezes/crashes during the startup

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 11 18:44:53 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20799





--- Comment #84 from Raymond <superquad.vortex2 at 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;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list