X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/7d4d5431748eab78b40e67c10888134745fe87c9..e4270049e4e0cefa1d3784d4215a23e53fe5e929:/res/sounds/player diff --git a/res/sounds/player b/res/sounds/player new file mode 100755 index 0000000..7784940 --- /dev/null +++ b/res/sounds/player @@ -0,0 +1,13 @@ +#!/bin/sh + +PLAYER=true + +if [ -x "`which aplay`" ]; then + PLAYER=aplay +elif [ -x "`which play`" ]; then + PLAYER=play +elif [ -x "`which mplayer`" ]; then + PLAYER="mplayer -nogui -nocache" +fi + +exec ${PLAYER} "$@" >/dev/null 2>&1