2012-06-10, 17:03
Hello,
I run XBMC-xvba on Ubuntu 12.04 on my Zotac ZBOX AD04.
I have sound in movies, but NOT in XBMC itsself (no menu sound).
I can get it to work by setting up "dmix" in .asoundrc, but that is a bad solution because sometimes the sound in movies gets distorted.
This is my aplay -l:
This is my .asoundrc:
In XBMC sound settings are "defaults (ALSA) and passthrough custom hw:0,3"
Something interesting;
I get this error message, when XBMC is run, so somehow something blocks the soundcard until I start playing a movie?
I run XBMC-xvba on Ubuntu 12.04 on my Zotac ZBOX AD04.
I have sound in movies, but NOT in XBMC itsself (no menu sound).
I can get it to work by setting up "dmix" in .asoundrc, but that is a bad solution because sometimes the sound in movies gets distorted.
This is my aplay -l:
Code:
[email protected]:~$ 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: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0This is my .asoundrc:
Code:
[email protected]:~$ cat .asoundrc
pcm.!default {
type plug
slave {
# pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}In XBMC sound settings are "defaults (ALSA) and passthrough custom hw:0,3"
Something interesting;
Code:
[email protected]:~$ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
aplay: main:682: audio open error: Device or resource busyI get this error message, when XBMC is run, so somehow something blocks the soundcard until I start playing a movie?
