03-06-2012, 04:27 PM
Hello guys,
Today I installed openelec on my HTPC and the installation was ready in a couple of minutes. For testing I have plugged in some pc speakers in the rear audio jack of the main-board as called in the subject. But every time I start a movie the system yells at me saying: "failed to initialize audio".
Can someone hint me in the right direction.
root / # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: VT1708S HP [VT1708S HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
root / # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
default:CARD=Generic_1
HD-Audio Generic, VT1708S Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
Front speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
root / #
EDIT: The asound.conf did the trick.
pcm.!default {
type plug
slave {
pcm "hw:1,0"
rate 48000
}
}
Today I installed openelec on my HTPC and the installation was ready in a couple of minutes. For testing I have plugged in some pc speakers in the rear audio jack of the main-board as called in the subject. But every time I start a movie the system yells at me saying: "failed to initialize audio".
Can someone hint me in the right direction.
root / # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: VT1708S HP [VT1708S HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
root / # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
default:CARD=Generic_1
HD-Audio Generic, VT1708S Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
Front speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
root / #
EDIT: The asound.conf did the trick.
pcm.!default {
type plug
slave {
pcm "hw:1,0"
rate 48000
}
}