2011-04-12, 20:10
Hi!
I went from Ubuntu 9.04 to 10.10.
My problem is to get digital audio output working (dolby / dts) either over hdmi or coax out. Ananlog audio output over both cables is already working.
I tried this howto, but xbmc just tells me "failed to initialize audio device".
This is my setup:
- Asrock atom ion 330 connected to onkyo A/V Receiver with hdmi, then hdmi to Samsung TV; coax digital out connected to A/V Receiver, too.
- xbmc 10.1 (2:10.1~ppa1~maverick)
- Ubuntu 10.10
- aplay -l
- /etc/asound.conf
- ~/.asoundrc
xbmc is setup like this
I forgot:
This test command works flawlessly:
Every help is very appreciated
I went from Ubuntu 9.04 to 10.10.
My problem is to get digital audio output working (dolby / dts) either over hdmi or coax out. Ananlog audio output over both cables is already working.
I tried this howto, but xbmc just tells me "failed to initialize audio device".
This is my setup:
- Asrock atom ion 330 connected to onkyo A/V Receiver with hdmi, then hdmi to Samsung TV; coax digital out connected to A/V Receiver, too.
- xbmc 10.1 (2:10.1~ppa1~maverick)
- Ubuntu 10.10
- aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
- /etc/asound.conf
Code:
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}
pcm.!remap-surround71 {
type route
slave.pcm "hw:0,3"
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
6.6= 1
7.7= 1
}
}
- ~/.asoundrc
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,3"
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"
}
xbmc is setup like this
I forgot:
This test command works flawlessly:
Quote:speaker-test -D hdmi -c6 -r19200 -FS32_LE
Every help is very appreciated