mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:35:42 +01:00
alsa-info.sh: add PipeWire daemon detection
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f67020abcf
commit
30809f395e
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue