From f08bad374c5a65a243e441c60406044dfb61e683 Mon Sep 17 00:00:00 2001 From: mollusk Date: Thu, 21 Jun 2018 19:03:52 -0700 Subject: [PATCH] New Script: staticmic.sh: prevent apps from turnin down the mic Former-commit-id: fccde48c408cfa972bc0b906e85b3869e0cd6915 --- staticmic.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 staticmic.sh diff --git a/staticmic.sh b/staticmic.sh new file mode 100755 index 0000000..7ce1179 --- /dev/null +++ b/staticmic.sh @@ -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