Skip to content

Instantly share code, notes, and snippets.

@milose
Last active December 15, 2015 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milose/6e7c782e51b387209cce to your computer and use it in GitHub Desktop.
Save milose/6e7c782e51b387209cce to your computer and use it in GitHub Desktop.
Sound settings on debian

Mixer

sudo  alsamixer

Sound settings

sudo nano /etc/asound.conf

Modify /etc/asound.cnf

pcm.!default {
    type hw
    card 0    //If you want to set HDMI as output ,turn 0 to 1.
    device 0
  }
  ctl.!default {
    type hw
    card 0   //If you want to set HDMI as output ,turn 0 to 1.
  }

Test the sound

speaker-test -twav -c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment