#!/bin/sh
#
# This script is part of XFce
# "ossdsp" option submitted by "Sami Tikka" <sami.tikka@kolumbus.fi>
# exec sox "$1" -t ossdsp /dev/dsp
# Use "play" that ships with sox to play the file since it can deal
# with different hardware types....
# Use UMS if it's an AIX box (and available)
if [ `echo $OSTYPE | grep -i -c aix` -gt 0 ]
then
  if [ -x `which run_ums` ]
  then
    exec run_ums audio_play -f "$1" 2>/dev/null
  fi
else
  exec play "$1"
fi
