projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
48c933a
)
Unmute mixer controls before setting volume
author
Ulrich Dangel
<mru@grml.org>
Fri, 16 Dec 2011 10:27:59 +0000
(11:27 +0100)
committer
Ulrich Dangel
<mru@grml.org>
Fri, 16 Dec 2011 10:27:59 +0000
(11:27 +0100)
autoconfig.functions
patch
|
blob
|
history
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