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).
I do not have a sndfile-jackplay on Debian repos. I just installed alsaplayer
packages. It seems one must choose which plugin to play as well as specify the
sample rate. To reconfigure the calling program when I turn jack on and off is
surely silly at best.
Mplayer's approach of try this one, no ... try the next is what I need without
the fat of mplayer. Since the caller is a kde applet, maybe phonon has the
answer? I do not want to be stuck with knotify (which at best disables or is
disabled by jack).