Re: Jack-enabled CLI Player

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

 




On Mon, 3 Aug 2009, Patrick Shirkey wrote:

>> 
>> David Baron:
>> 
>>> 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).
>>> 
>>>
>>> 
>> 
>> With pulseaudio, you can simply use ogg123, and you
>> don't have to give any special options for ogg123,
>> just write "ogg123<1>" and you'll get sound through
>> jack.
>> 
>> Pulseaudio has amazingly well-working jack audio drivers
>> and alsa interfaces, so finally linux audio works
>> without hassle for all programs all the time.
>> 
>> This is the only modification I had to do to make it work:
>> $ grep jack /etc/pulse/*
>> /etc/pulse/default.pa:load-module module-jack-source
>> /etc/pulse/default.pa:load-module module-jack-sink
>>
>> 
>
>
> Can you please clarify what you did?
>
> Did you add those lines above to a specifc file or did you just run grep and 
> everything magically worked?
>

I added these two lines to /etc/pulse/default.pa:

/etc/pulse/default.pa:load-module module-jack-source
/etc/pulse/default.pa:load-module module-jack-sink

plus executing "yum install pulseaudio-module-jack"

and then everything magically worked.


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