This did wonders for me:
aplay -l gives me:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
In my case HDMI is card1, device 3 so i run:
sudo alsamixer -c 1
Unmuted the device by hitting the
M key.
I then saved the volume info:
sudo alsactl store 0
Created .asoundrc, located in /home/xbmc/:
sudo nano /home/xbmc/.asoundrc
Code:
pcm.!spdif {
type hw
card 1
device 3
}
pcm.!default {
type plug
slave {
pcm "spdif"
}
}
And my xbmc is set to:
Code:
- Audio Output: Digital
- Dolby Digital (AC3) capable receiver: On
- DTS Capable receiver: On
- Audio Output device: default
- Passthrough device: default
- Downmix multichannel audio to stereo: On
Setting the output and passthrough device to "default", matches the naming in asoundrc. I'm not sure if that is related, but it did start to work for me from then on. Also menu sounds work.
Setting "Downmix multichannel audio to stereo" fixed a certain wmv that otherwise would not produce audio. All other media (mkv's) are playing with AC3 or DTS 3/2.1 no problem.
---
I also upgraded my ALSA to 1.0.20, but it only started to work after doing the above things.
Good luck!