staticmic.sh: Change volume preset
Former-commit-id: 0ac0d2c490893cee641a251225657232aaf264e6
This commit is contained in:
parent
f08bad374c
commit
dad9234690
@ -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"
|
||||||
while sleep 0.1;do
|
INPUTDEVICE="alsa_input.pci-0000_00_1b.0.analog-stereo ${LEVELS}"
|
||||||
|
|
||||||
|
echo "Keeping Mic Level Static"
|
||||||
|
while sleep 0.1;do
|
||||||
pacmd set-source-volume ${INPUTDEVICE}
|
pacmd set-source-volume ${INPUTDEVICE}
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user