From: Jaroslav Kysela Date: Fri, 5 Mar 2021 17:20:55 +0000 (+0100) Subject: alsa-info.sh: add PipeWire daemon detection X-Git-Tag: v1.2.5~79 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=30809f395ec48c5607136545e22bc58651687dcd;p=alsa-utils.git alsa-info.sh: add PipeWire daemon detection Signed-off-by: Jaroslav Kysela --- diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh index cd81acf..0ef6478 100755 --- a/alsa-info/alsa-info.sh +++ b/alsa-info/alsa-info.sh @@ -425,6 +425,7 @@ get_alsa_library_version ALSA_UTILS_VERSION=$(amixer -v | awk '{ print $3 }') ESDINST=$(command -v esd) +PWINST=$(command -v pipewire) PAINST=$(command -v pulseaudio) ARTSINST=$(command -v artsd) JACKINST=$(command -v jackd) @@ -555,6 +556,13 @@ echo "" >> $FILE echo "!!Sound Servers on this system" >> $FILE echo "!!----------------------------" >> $FILE echo "" >> $FILE +if [[ -n $PWINST ]];then +[[ $(pgrep '^(.*/)?pipewire$') ]] && PWRUNNING="Yes" || PWRUNNING="No" +echo "PipeWire:" >> $FILE +echo " Installed - Yes ($PWINST)" >> $FILE +echo " Running - $PWRUNNING" >> $FILE +echo "" >> $FILE +fi if [[ -n $PAINST ]];then [[ $(pgrep '^(.*/)?pulseaudio$') ]] && PARUNNING="Yes" || PARUNNING="No" echo "Pulseaudio:" >> $FILE