Hi all !

After months of testings, we have now commited a new jack support into 
liquidsoap !

This new support has been shown to work quite well until now. So, we'd be glad 
to have some feedback in order to make jack a reality for next release..

If you compile from svn trunk, you might need to update the whole trunk/ to 
get the new ocaml-bjack, and edit your PACKAGE file to check if ocaml-bjack 
is listed. Then, the usual ./bootstrap && ./configure && make clean && make

The latest debian daily package [1] also already includes new jack support.

The operators you might want to test are output.jack and input.jack. 
Parameters are the same for both:
* id :: string (default "")
    Force the value of the source ID.
* buffer_size :: int (default 2)
    Set buffer size, in frames. 0 means unbuffered output.
* server :: string (default "")
    Jack server to connect to.
* (unlabeled) :: source (default None)

In particular, id="foo" will define the name of the client that will connect 
to jack.

Also, another interesting parameter is "buffer_size". If you set it to 0, then 
jack processing will be done in main thread, allowing the lowest possible 
latency, but also some catchup drifting: if at any time liquidsoap gets late, 
then the latency will remain since jack processing constraints liquidsoap to 
real time.. 
This can be observed when outputing to shout for instance.. We'll be working 
on this, with the time_warp operator...
On the other hand, a greater buffer_size will move jack processing into 
another thread, which will allow to catchup, but might lead to audio garbaged 
sound when late..

Please, test, report, and, hopefully, enjoy !


Romain

[1]: http://savonet.rastageeks.org/wiki/DebianSVNSnapshots
-- 
mama say
son, you've got to stay home today
there's a hole in the roof
you've got to make it waterproof

Reply via email to