projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d46c9d
)
fixed play for pulse.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 13 May 2012 14:16:29 +0000
(10:16 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 13 May 2012 14:16:29 +0000
(10:16 -0400)
scripts/multimedia/sound_play.sh
patch
|
blob
|
history
diff --git
a/scripts/multimedia/sound_play.sh
b/scripts/multimedia/sound_play.sh
index f499d30ba349a28b4d868c7c4ab48fafa2a7082f..2110a4b69593f579b85285db5302ad51de7867e2 100644
(file)
--- 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