Update config don't start and stop wireplumber

master-bu
Alan Johnston 3 weeks ago committed by GitHub
parent 0a573d63a9
commit 8cd518051f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1603,12 +1603,12 @@ elif [ "$1" = "-L" ]; then
fi
if ! [ -z $mic ] && [[ $mic =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then
systemctl --user stop wireplumber
# systemctl --user stop wireplumber
echo "Updating mic level to" $mic "%"
# value=`arecord -l | grep "card"` && echo "$value" > /dev/null && set -- $value && amixer -c ${2:0:1} set MicVolume $mic
value=`arecord -l | grep "card"` && echo "$value" > /dev/null && set -- $value && amixer -c $USBCARD sset 'MicVolume' $mic
systemctl --user start wireplumber
# systemctl --user start wireplumber
else
echo "Not updating mic level"
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.