[LAU] Jack-enabled CLI Player

David Baron d_baron at 012.net.il
Mon Aug 3 15:48:01 EDT 2009


On Monday 03 August 2009 22:58:22 Esben Stien wrote:
> David Baron <d_baron at 012.net.il> writes:
> > What might be a jack-enabled equivalent of:
> > /usr/bin/ogg123 -d alsa <1>  (<1> is and ogg file, obviously)
>
> xmms2 is a media player with core/UI separation and has quite an
> extensive command line interface.
>
> Epr is a simple gstreamer media player and can use the jack plugin of
> gstreamer.

moc, xmms2 and others are client/server players. A server daemon is loaded and 
then CLI or GUI players play off that. The presense of jackd may be tested 
when the daemon is loaded which is how moc does it.

The command I have above was taken from xringd, a daemon that senses the phone 
ringing and can "ring" on the speakers in response. My applet uses this code 
in a full telephony applet for a speakerphone modem. SO I need by player-
command to sense jackd at each ring, not just when the daemon is loaded, since 
I may or may not be using jack at any time.

If pulseaudio worked, then this should do it. However, jackd is probably 
sensed (or required by the suggested configuration) when pulse is started so 
it may be little better than moc or xmms2 and this is not a solution or my 
applet. KDE's backend utilitlies may also set them selves on startup and be 
unchangeable after that.



More information about the Linux-audio-user mailing list