updated for pipewire
authorFred T. Hamster <fred@feistymeow.org>
Sat, 7 Dec 2024 17:21:38 +0000 (12:21 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Sat, 7 Dec 2024 17:21:38 +0000 (12:21 -0500)
scripts/multimedia/sound_play.sh

index a934799813bfd92b855ead0cc2b3a1398b5d4404..55c471c579d14d349aa9cd1f01bfb460b974e638 100644 (file)
@@ -29,6 +29,9 @@ elif [ ! -z "$(psfind esd)" ]; then
 elif [ ! -z "$(psfind pulseaudio)" ]; then
 #echo we see pulse running...
   BASIC_PLAY_CMD="padsp aplay"
+elif [ ! -z "$(psfind pipewire)" ]; then
+#echo we see pipewire running...
+  BASIC_PLAY_CMD="aplay"
 elif [ ! -z "$(whichable pw-cat)" ]; then
   BASIC_PLAY_CMD="pw-cat -p"
 else