Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: erwan on April 05, 2015, 01:40:09 PM
-
I have Attract Mode working great with Mame, and I recently added Mednafen to play some console games too.
However I don't have any sound when I launch a mednafen game from Attract. I have the sound working when I launch mednafen directly I have sound working correctly.
Getting this error:
Initializing sound...
Using "ALSA" audio driver with SexyAL's default device selection.ALSA Error: snd_pcm_open(&alsa_pcm, id ? id : "hw:0", SND_PCM_STREAM_PLAYBACK, 0) Device or resource busy
Error opening a sound device.
-
I had this problem as well. Easy fix. First run mednafen by itself..should have sound (if not it's mednafen not attract mode.) but i had to change some settings. You are using linux or windows erwan?
Look for this in your mednafen config file: (Ctrl+F to search)
;Select sound output device.
sound.device default
;Select sound driver.
sound.driver default
Make it look like this:
;Select sound output device.
sound.device default
;Select sound driver.
sound.driver sdl
I think I had that problem with any front end..not just attract mode
-
That worked indeed, thank you very much!