Re: simple commandline player for jack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux