New Script: staticmic.sh: prevent apps from turnin down the mic

Former-commit-id: fccde48c408cfa972bc0b906e85b3869e0cd6915
This commit is contained in:
mollusk 2018-06-21 19:03:52 -07:00
parent ea6de344fb
commit f08bad374c

8
staticmic.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# Run the following command to find your input device
# $ pacmd list-sources | grep name
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo 50000"
while sleep 0.1;do
pacmd set-source-volume ${INPUTDEVICE}
done