GUI sounds blocking emulator sound
#1
XBMC Gotham: BETA3 Git:2dcc855 (Compiled Mar 29 2014)
Ubuntu Server: Linux 3.11.0-19-generic

If I launch Mednafen using "Advanced Launcher", I get no sound if GUI sounds are enabled. "Keep Audio Device Alive" appears to be irrelevant; if "Play GUI Sounds" is set to anything other than "Never", it blocks audio output. Oddly enough Steam, also launching using Advanced Launcher, is unaffected by any choices in the audio menu.

I've tried altering both "AdvancedSettings.xml" and "mednafen.cfg", but neither one produced desirable results. I suppose my question is:

1) Is this a known bug in Gotham that might one day be fixed (in which case I'll just manually switch each time)?

2) Is this a known feature of Gotham's audio engine (in which case I'll look into scripting a solution)?

Many thanks for any insight you can offer.
Reply
#2
Start the addon correctly. If you don't suspend AE correctly it will continue to run for sure.

It's not a gotham bug. It works as it is intended to run.

See here: http://forum.xbmc.org/showthread.php?tid=164522
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Hi Fritsch,

Thank you for taking the time to reply, but the answer you linked to is outdated. The changes have already been integrated into Advanced Launcher.

It did however, lead me to what I think is the problem. Despite having a dedicated media server, I do not use Alsa. I really wanted to integrate Steam with my server, and for some reason I could only get audio to work if I went with PulseAudio.

I'm going to install pavucontrol and see what happens if I play around with it.

One more question though. In the linked thread it showed a way to modify advanced launcher at the Python level. But when I go into .xbmc/addons I don't see it there. Where should I be looking? Thanks.
Reply
#4
Running emulators with xbmc running has always given me problems in both windows and Linux - I find it a lot less problematic to quit xbmc before running emulators.
Reply
#5
Yeah, but never the less. We invested a lot of time to get that fixed. So if the external program tells us: "ActiveAE shut up now - i need the device" - then we do that.

If you have PA running, then try to use the "pulse" device, if you need pure alsa in the emulator (libasound2-plugins" might be required and a pactl set-default-device 0 (if 0 is the device id you want)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
Fritsch, I know this is off topic but launching emulators via AL with a Gotham beta + recent version of AL on win7 blocks sounds in the emulator for me.

I can try in Linux if you want.
Reply
#7
Post debuglogs, yes and open an issue on trac.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Ubuntu 14.04 x64, xbmc 13.0~git20140329.0731-beta3-0trusty, AL 2.4.1:
No pulseaudio or asound*, just ALSA - no sound in mednafen
http://paste.ubuntu.com/7234174/

With pulseaudio, no asound* - no sound in mednafen
http://paste.ubuntu.com/7234184/

Alsa with gui sounds disabled, no asound* - no sound in mednafen
http://paste.ubuntu.com/7234225/

Sound works in xbmc when using alsa or pulse, before and after running the emulator, and sound in mednafen is fine with either pulse or alsa when not run via al/xbmc(same command as used in AL).

Win7 x64 with xbmc 20140410-7f24c56-Gotham, AL 2.5.1, WASAPI + GUI sounds - no sound in emulator
http://paste.ubuntu.com/7234247/

Sound is fine in emulator with direct sound.

http://trac.xbmc.org/ticket/15112
Reply
#9
Hey Guys,

just wanted to ask if there are any updates on this topic?
Reply
#10
Reqd the trac post - its a configuration issue.
Reply

Logout Mark Read Team Forum Stats Members Help
GUI sounds blocking emulator sound0