From 6ae3b055556cfa72d72bfbc4e5a2516a72f7d60b Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 14 Jan 2008 00:05:37 +0100 Subject: [PATCH] add afplay to player script Thanks to Rafi Goldberg for telling me it is available on OS X 10.5 --- res/sounds/player | 3 +++ 1 file changed, 3 insertions(+) diff --git a/res/sounds/player b/res/sounds/player index af26836..d85309c 100755 --- 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 -- 2.39.5