http://bugs.winehq.org/show_bug.cgi?id=22261
--- Comment #3 from Raymond superquad.vortex2@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)