staticmic.sh: Change volume preset

Former-commit-id: 0ac0d2c490893cee641a251225657232aaf264e6
This commit is contained in:
mollusk 2018-06-21 22:29:46 -07:00
parent f08bad374c
commit dad9234690

View File

@ -2,7 +2,10 @@
# Run the following command to find your input device # Run the following command to find your input device
# $ pacmd list-sources | grep name # $ pacmd list-sources | grep name
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo 50000" LEVELS="40000"
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo ${LEVELS}"
echo "Keeping Mic Level Static"
while sleep 0.1;do while sleep 0.1;do
pacmd set-source-volume ${INPUTDEVICE} pacmd set-source-volume ${INPUTDEVICE}
done done