On Sun,
2009-08-02 at 16:45 +0300, David Baron wrote:
What might be a jack-enabled equivalent of:
/usr/bin/ogg123 -d alsa<1> (<1> is and ogg file, obviously)
Preferrable would be something that will play through jack if the daemon
be running, alsa not (mplayer can work this way but this is a bit heavy
for a short file play, i.e., a signal from a program).
mplayer fits the bill perfectly imho and I'm not convinced that
it's
that heavy - it actually uses very little memory when just playing a
sound file (mp3, ogg, wave).
Does mplayer auto sense if jack is being used and fall back to
pulse/gstreamer/esd/alsa/oss if not? Maybe David just needs a small
script that willl check the existance of a running jack and trigger the
correct commandline.