Package: debianutils
Version: 2.8.4
Severity: wishlist

A sensible-audioplayer would be great for playing WAV sounds and the like. I
don't know if "sensible-audioplayer" is a good name, but I'm definitely not
talking about MP3, Ogg, etc., but a player for simple WAV sounds.

An initial implementation could be the following:

------------------------------------- 8< -------------------------------------
#!/bin/sh

PLAYER=""
if [ "x" != "x$AUDIOPLAYER" ]; then
   PLAYER=`which "$AUDIOPLAYER"`
elif [ -n "`pidof artsd`" ]; then
   PLAYER=/usr/bin/artsplay
elif [ -n "`pidof esd`" ]; then
   PLAYER=/usr/bin/esdplay
else
   PLAYER=/usr/bin/play
fi

if [ -x "$PLAYER" ]; then
   "$PLAYER" "$@"
else
   echo "Couldn't find any suitable audio player" 1>&2
   return 1
fi
------------------------------------- >8 -------------------------------------

For example, PSI (please see Bug#178449) would take advantage of this program.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages debianutils depends on:
ii  coreutils                   5.2.1-2      The GNU core utilities
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to