2014-01-06, 14:11
Hello,
I am running xbmc 12.3 on Arch Linux (64bit, installed through pacman) and trying to get the ZSNES emulator running with sound. This used to work on my old xbmcbuntu installation with the asound.conf shown below. The audio output device was set to the custom device dmixer. In my new Arch installation, however, the custom audio devices won’t show up in the audio settings. Xbmc sound just works fine if I select the digital output, but in this case, xbmc seems to block the interface and emulator sound doesn’t work. If I set it e.g. to analog, xbmc sound is gone but emulator sound works.
How can I get the custom audio devices to show up in xbmc?
asound.conf: (I also saved this as ~xbmc/.asoundrc without success)
Debug log: http://pastebin.com/8P3uM050
I am running xbmc 12.3 on Arch Linux (64bit, installed through pacman) and trying to get the ZSNES emulator running with sound. This used to work on my old xbmcbuntu installation with the asound.conf shown below. The audio output device was set to the custom device dmixer. In my new Arch installation, however, the custom audio devices won’t show up in the audio settings. Xbmc sound just works fine if I select the digital output, but in this case, xbmc seems to block the interface and emulator sound doesn’t work. If I set it e.g. to analog, xbmc sound is gone but emulator sound works.
How can I get the custom audio devices to show up in xbmc?
asound.conf: (I also saved this as ~xbmc/.asoundrc without success)
Code:
pcm.snd_card {
type hw
card 0
device 1
}
ctl.snd_card {
type hw
card 0
device 1
}
# Das dmix-Plugin wird definiert.
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666 # Andere Benutzer können ebenfalls dmix gleichzeitig nutzen
slave.pcm "snd_card"
slave {
### buffer_size kann bei Problemen der jeweiligen Karte angepasst werden.
period_time 0
period_size 1024
buffer_size 4096
### bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
# rate 44100
### einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
# format S32_LE
### Verfügbare Formate: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE
### S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE
### IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM
### Anzahl channels muss mit den bindings übereinstimmen
channels 2
}
bindings {
0 0
1 1
}
}
# Das dsnoop-Plugin, welches es erlaubt, mehrere Programme gleichzeitig aufnehmen zu lassen.
pcm.dsnooper {
type dsnoop
ipc_key 2048
ipc_perm 0666
slave.pcm "snd_card"
slave
{
period_time 0
period_size 1024
buffer_size 4096
# bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
# rate 44100
# einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
# format S32_LE
### Anzahl channels muss mit den bindings übereinstimmen
channels 2
}
bindings {
0 0
1 1
}
}
# Dies definiert unser Fullduplex-Plugin als Standard für alle ALSA-Programme.
pcm.duplex {
type asym
playback.pcm "dmixer"
capture.pcm "dsnooper"
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
Debug log: http://pastebin.com/8P3uM050