Update config handle more than one USB sound card

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

@ -1579,7 +1579,8 @@ elif [ "$1" = "-L" ]; then
echo "Set microphone level for command and control"
echo
USBCARD=$(aplay -l | grep "Device" | grep -oP '(?<=card )\d{1,2}')
CARDUSB=$(aplay -l | grep "Device" | grep -oP '(?<=card )\d{1,2}')
USBCARD=${CARDUSB:0:1}
echo "USB sound card is card" $USBCARD
CARD=$(grep -oP '(?<=card )\d{1,2}' /etc/asound.conf)

Loading…
Cancel
Save

Powered by TurnKey Linux.