# play the sound files specified.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" # provides psfind.
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
if [ $# -lt 1 ]; then
#echo no sound file specified.
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
for i in $*; do $PLAYCMD $i >/dev/null 2>&1; done
exit 0
+