Update config fixed amixer %

pull/327/head
Alan Johnston 1 year ago committed by GitHub
parent 46d14d3e36
commit 6f82fa9775
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1344,7 +1344,7 @@ elif [ "$1" = "-L" ]; then
if ! [ -z $mic ] && [[ $mic =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then
echo "Updating mic level"
value=`arecord -l | grep "card"` && echo "$value" > /dev/null && set -- $value && amixer -c ${2:0:1} set Mic $mic %
value=`arecord -l | grep "card"` && echo "$value" > /dev/null && set -- $value && amixer -c ${2:0:1} set Mic $mic%
else
echo "Not updating mic level"
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.