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

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 8 17:26:27 CDT 2010


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





--- Comment #60 from Raymond <superquad.vortex2 at gmail.com>  2010-05-08 17:26:27 ---
(In reply to comment #59)
> Created an attachment (id=27810)
 --> (http://bugs.winehq.org/attachment.cgi?id=27810) [details]
> Disable mmap for dsound acceleration
> 
> With DSound, there's 4 acceleration modes:
> Emulation - Uses winmm to play the primary buffer, secondary buffers are mixed
> in software, no hardware effects
> Basic - Uses a hardware voice for the primary buffer, secondary buffers are
> mixed in software, no hardware effects
> Standard - Uses hardware voices for the primary and secondary buffers, no
> hardware effects
> Full - Uses hardware voices for the primary and secondary buffers, uses
> hardware effects
> 
> All of Wine's current audio drivers only support Emulation, except for winealsa
> which can provide Basic. Setting Basic, Standard, or Full behaves just like
> Basic (or Emulation).
> 
> Out of curiousity, does the attached patch work when dsound acceleration is on?

what is hardware effects ?

seem different from vendor-specific property-set extensions.

current implementation does not support hardware acceleration of secondary
buffers since 


   err = snd_pcm_open(&pcm, WOutDev[This->drv->wDevID].pcmname,
SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK);
    if (err < 0)
    {
        if (errno != EBUSY || !This->pcm)
        {
            WARN("Cannot open sound device: %s\n", snd_strerror(err));
            return DSERR_GENERIC;
        }
        snd_pcm_drop(This->pcm);
        snd_pcm_close(This->pcm);
        This->pcm = NULL;
        err = snd_pcm_open(&pcm, WOutDev[This->drv->wDevID].pcmname,
SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK);
        if (err < 0)
        {
            WARN("Cannot open sound device: %s\n", snd_strerror(err));
            return DSERR_BUFFERLOST;
        }
    }

-- 
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