From 6b39cd62e70b90832923c63a9bde27ca487d0b94 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 13 May 2012 10:16:29 -0400 Subject: [PATCH] fixed play for pulse. --- scripts/multimedia/sound_play.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/multimedia/sound_play.sh b/scripts/multimedia/sound_play.sh index f499d30b..2110a4b6 100644 --- a/scripts/multimedia/sound_play.sh +++ b/scripts/multimedia/sound_play.sh @@ -20,9 +20,14 @@ if [ ! -z "$(psfind artsd)" ]; then elif [ ! -z "$(psfind esd)" ]; then # we see esd running... PLAYCMD=esdplay +elif [ ! -z "$(psfind pulseaudio)" ]; then + # we see pulse running... + PLAYCMD="padsp aplay" elif [ ! -z "$WINDIR" ]; then # kludge for win32; we provide our own sound player. PLAYCMD=playsound +else + echo "I don't know how to play sounds for this OS and sound system." fi # play the sounds individually; playsound can handle multiple files, but -- 2.34.1