projects
/
micropolis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
851812f
)
add afplay to player script
author
Michael Gernoth
<michael@gernoth.net>
Sun, 13 Jan 2008 23:05:37 +0000
(
00:05
+0100)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 13 Jan 2008 23:05:37 +0000
(
00:05
+0100)
Thanks to Rafi Goldberg for telling me it is available on OS X 10.5
res/sounds/player
patch
|
blob
|
blame
|
history
diff --git
a/res/sounds/player
b/res/sounds/player
index af26836209fb6819399f13f00d7b5c14f59db628..d85309ca28903d2b2f7cfab9d968bd00071d868c 100755
(executable)
--- a/
res/sounds/player
+++ b/
res/sounds/player
@@
-4,6
+4,9
@@
PLAYER=
if [ -x "`which aplay`" ]; then
PLAYER=aplay
+elif [ -x "`which afplay`" ]; then
+ #afplay is shipped with OS X Leopard
+ PLAYER=afplay
elif [ -x "`which play`" ]; then
PLAYER=play
elif [ -x "`which mplayer`" ]; then
Impressum
,
Datenschutz