From: Chris Koeritz Date: Sun, 13 May 2012 14:16:29 +0000 (-0400) Subject: fixed play for pulse. X-Git-Tag: 2.140.90~1345 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=6b39cd62e70b90832923c63a9bde27ca487d0b94;p=feisty_meow.git fixed play for pulse. --- 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