[Bug 22261] Love: "device already allocated" handling - requires patching winealsa.drv or using esound backend

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 27 19:19:26 CDT 2010


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

--- Comment #3 from Raymond <superquad.vortex2 at gmail.com> 2010-10-27 19:19:26 CDT ---
(In reply to comment #0)
> Created an attachment (id=27188)
 --> (http://bugs.winehq.org/attachment.cgi?id=27188) [details]
> alsa driver patch
> 
> While figurinig out the kinks to get Love working, I had to patch the Alsa
> driver to make it behave like the esound one.

it is because wineesd.drv has MAX_WAVEOUTDRV


 215 static WINE_WAVEOUT     WOutDev   [MAX_WAVEOUTDRV];
 216 static WINE_WAVEIN      WInDev    [MAX_WAVEINDRV];

> 
> To summarize, my understanding is that love.exe tries to open the sound device
> twice. It works if you use the esound backend, and after a bit of investigation
> we found that applying the attached patch would make things work with the Alsa
> backend as well (e.g. change the return code from MMSYSERR_ALLOCATED to
> MMSYSERR_NOERROR).
> 
> (thanks to Kevlarman for initially coming up with this fix)

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