[mythtv-users] tearing my hair out with audio over hdmi

Jean-Yves Avenard jyavenard at gmail.com
Wed Mar 9 23:35:58 UTC 2011


Hi

On 10 March 2011 05:33, tim draper <veehexx at gmail.com> wrote:
> i had a similar issue; speaker-test and the alsamixer text-base setup said
> things should of been working fine. however i would get no sound or volume
> level in the X environment. Nvidia 210 here, using HDMI.
> the fix?
> do you have /etc/asound.conf present?
> i found mine was missing, so after a quick nano with the following inserted
> into it, things worked fine!

That's no longer necessary when using alsa 1.0.24 ; you don't need to
guess what the actual hardware device number is any longer ; alsa does
it for you:

when you run aplay -L (with my GT430) you get:
myth at htpc:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output

DEV=x (with x = 0, 1, 3 or 3)
hdmi:DEV=0 is actually an alias to what would have been hw:0,3 etc...

You only need to use one of the device reported by aplay -L, all the
one supported will be listed there.

The times you had to fiddle with hardware card and device number are
gone, and aren't necessary if using any version of ALSA >= august
2010.

Problem is that version 1.0.23 was the latest official version for a
long time, so people had to struggle with getting around using it.

JY


More information about the mythtv-users mailing list