Hi Guys, Been a while......
Firstly Apologies Hanafi, don't mean to hi-jack your thread, but I have a similar problem. I cant get hdmi audio to work at all. I'm running Dianemo 14.04 though.
asound.conf
</etc/pluto/alsa/virtual_cards.conf>
pcm_slave.convert {
@args [ RATE CARD DEV ]
@args.RATE {
type integer
}
@args.CARD {
type string
}
@args.DEV {
type integer
default 0
}
pcm {
@func concat
strings [ $CARD "," $DEV ]
}
rate $RATE
}
pcm.spdif_playback {
type plug
slave {
@func concat
strings [ "convert:RATE=48000,CARD=spdif:0"
",DEV="
{
@func refer
name defaults.pcm.iec958.device
}
]
}
}
pcm.hdmi_playback {
type plug
slave {
@func concat
strings [ "convert:RATE=48000,CARD=hdmi:0"
",DEV="
{
@func refer
name defaults.pcm.iec958.device
}
]
}
}
pcm.asym_spdif {
type asym
playback.pcm "spdif_playback"
capture.pcm "plughw:0"
}
pcm.asym_hdmi {
type asym
playback.pcm "hdmi_playback"
capture.pcm "plughw:0"
}
pcm.asym_analog {
type asym
playback.pcm "plug:dmix:0"
capture.pcm "plughw:0"
}
pcm.!default asym_hdmi
I suspect the problem is with the section pcm.asym_hdmi , "plughw:0" shouldn't it be "plughw:0,8" cause I can test audio by
aplay -D plughw:0,8 Front_Center.wav
That plays and I can hear "Front Centre" though my TV speakers that's connected via the HDMI cable. However if I play a mp3 file the same way, its distorted...... I must add that I had no Audio with AV-wizard or with Sarah.
I have also attached a pic of alsamixer. I cant seem to adjust audio levels..... or am I missing something?
Thanx in advance guys.