miribota Wrote:I haven't had any speed issues, just no sound... though I've been using Mednafen for my NES emulator more than fceu but they both have the sound issues. ZSNES doesn't have the sound issues that either of those do.
I'm hoping it's a device setting somewhere. I'll post any solutions if I find any.
I got sound working with fceu. The solution works both when I launch fceu from within xbmc (still runs very badly) and when my script kills xbmc before launching fceu (fceu runs well). Sound in the emulator didn't work before in both cases.
It involves the combination of two workarounds:
The first step is to wrap the call to fceu in "aoss". Seems that this will cause audio it to go through the alsa software mixer instead of trying to directly access the only hardware playback channel, which I guess is busy when xbmc is involved. This is where I found the solution:
http://episteme.arstechnica.com/eve/foru...3004384831
I didn't have to do anything with asound.conf or .asoundrc to get it working, just using aoss was enough.
The second step was to add this really ugly hack of having mplayer always paused in the background. From this thread:
http://forum.xbmc.org/showthread.php?tid=34635&page=5
Rather then deal with python, I simply have this command in my startup scripts:
mplayer -nolirc -ao alsa -input file=/home/chris/scripts/mplayer.cmd /usr/share/xbmc/skin/Project\ Mayhem\ III/sounds/back.wav&
Where mplayer.cmd just contains "pause".
Let me know if that works for you. I'm hoping to clean up all the hacks I've done for emulator launching and post all the info together at some point.