Created
September 30, 2013 03:00
-
-
Save briansorahan/6758900 to your computer and use it in GitHub Desktop.
unmute-alsa-mixer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function main { | |
local card="$1"; shift | |
local vol="$1"; shift | |
for n in 0 1 2 3 4 5 6 7 8 9 | |
do | |
amixer -c $card sset Multi,$n ${vol}%,${vol}% unmute | |
done | |
} | |
main M44 100 "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment