Posts Tagged ‘alsa’

  • HDMI setup using ~/.asoundrc

    Date: 2010.08.10 | Responses: 0

    This .asoundrc file sets the hdmi digital audio output as the default sound output device. The sweet thing about this setup is that it uses the dmix plugin, allowing you to have multiple applications use the device at once instead of just one hogging it. Also, this will add a volume slider to your mixer (hdmi_vol). Thanks to  the original person who wrote the config, Dewey Oxberger (aka Jon B), and  frigginacky at ubuntu forums (see post).
    Note: To find the device card & number, you can run

    aplay -l

    ~/.asoundrc file:

    pcm.hdmi_formatted {
     
      type plug
     
      slave.pcm "dmix:1,3" #card 1, device 3 (may be different for you)
     
    }
     
    pcm.hdmi_complete { # add a volume slider in mixer
     
      type softvol
     
      slave.pcm hdmi_formatted
     
      control.name hdmi_volume
     
      control.card 0
     
    }
     
    pcm.!default hdmi_complete

About me

1

I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.

Resume Contact me

Blog Tags