You are not logged in.
Hello!
I am running xbmc-standalone and want to get sound to mupen64plus but I can't get it to work.
Sound works fine in xbmc, I have tried adding
export SDL_AUDIODRIVER=alsato /etc/profile
and I have also tried installing pulseaudio, but I don't seem to get it working
[xbmc@MaShi ~]$ start-pulseaudio-x11
X11 connection rejected because of wrong authentication.
E: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
E: [autospawn] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lockI don't get any error output from mupen, is there a way to test sdl sound without mupen?
---Edit--
If I have this asound.conf:
pcm.!default {
type plug
slave.pcm "dmix:0,3"
}I get this error: "ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave"
---Edit2---
The permission denied seems to come from XDG_RUNTIME_DIR still being set to /run/user/0 after xbmc has been started as user xbmc using xbmc.service. If I modify this I can start pulseaudio but instead I get mupen64plus to say "Audio Error: Couldn't open audio: Could not connect to PulseAudio"
--Edit3---
I think this has to do with XBMC's AudioEngine, can't seem to find the "Default" device that would use the dmix in asound.conf
Last edited by Reccra (2013-05-09 14:16:26)
Offline