projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unmute mixer controls before setting volume
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
1a3488b
..
de8341d
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1155,6
+1155,7
@@
config_mixer () {
for CONTROL in Master PCM ; do
if amixer -q | grep -q "Simple mixer control '$CONTROL'" ; then
+ amixer -q set "${CONTROL}" unmute 1>/dev/null 2>&1
amixer -q set "${CONTROL}" "${VOL}"%
eend $?
fi