Skip to content

Instantly share code, notes, and snippets.

@mgamer
Created February 6, 2018 13:51
Show Gist options
  • Save mgamer/f1457031aba0792c1ff47de928fc1f22 to your computer and use it in GitHub Desktop.
Save mgamer/f1457031aba0792c1ff47de928fc1f22 to your computer and use it in GitHub Desktop.
fix bose
while :
do
SOURCE=`SwitchAudioSource -t input -c`
if [ "$SOURCE" = 'mbose' ]
then
echo "mbose is on, disabling it"
SwitchAudioSource -t input -s "Built-in Microphone"
fi
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment