Hi,
I'm using a Blue Snowball that I activate with a script
#!/usr/bin/zsh
HARDWARE_ADDRESS=`arecord -l | grep "Blue Snowball" | sed -e "s|card
\([[:digit:]]\).*Blue Snowball.*device \([[:digit:]]\).*|\1,\2|"`
case $1 in
"jack")
alsa_in -d hw:$HARDWARE_ADDRESS -c 1 -p 512 >/dev/null &
sleep 2
jack_connect "alsa_in:capture_1" "PulseAudio JACK
Source:front-left"
jack_connect "alsa_in:capture_1" "PulseAudio JACK
Source:front-right"
;;
"monitor")
jack_connect "alsa_in:capture_1" "system:playback_1"
jack_connect "alsa_in:capture_1" "system:playback_2"
;;
*)
pkill -f "alsa_in -d hw:$HARDWARE_ADDRESS" || true
;;
esac
When I forget to have the script kill alsa_in and I suspend the computer
it hangs upon resume. This is using Manjaro/KDE. WHat would be the
recommended way to fix this?
Thanks in advance.
Marko