2013-01-22, 16:26
- OS: Lubuntu 12.10
- XBMC Version: Frodo RC3
- Install method: apt-get from default Lubuntu Repos
- Emulator: Higan (formerly bsnes) v092 from byuu.org
I am using the RomCollection add-on to run all my NES/SNES/GBA roms. Everything works perfectly except audio in the emulator.
If I close XBMC and then the emulator has sound and works perfectly.
I have done a bunch of research, and most solutions involve adding the following asoundrc file to the $HOME directory. I have tried with and without this file, the result is the same.
.asoundrc:
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,0"
rate 48000
channels 2
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
If I start up XBMC, and then call the emulator manually from terminal, this is the error it gives:
Code:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave