[LAU] simple commandline player for jack
Ken Restivo
ken at restivo.org
Fri Mar 12 15:06:54 EST 2010
On Fri, Mar 12, 2010 at 09:08:56AM -1000, david wrote:
> Bj?rn Lindig wrote:
> > Am Freitag 12 M?rz 2010 14:17:52 schrieben Sie:
> >> You won't learn anything about writing a jack client this way, but you
> >> could add this to your bashrc:
> >>
> >> alias mj="mplayer -ao jack"
> >
> > Simple, but good. Thanks for that!
>
> You can also tell mplayer to use JACK in mplayer's ~/.mplayer/config
> file. That's what I did.
>
This is how I roll:
if killall -0 jackd; then
mplayer -af channels=2 -ao jack "$@"
else
mplayer -ao alsa:noblock:device=hw=0.0 "$@"
fi
-ken
More information about the Linux-audio-user
mailing list