Re: [Jack-Devel] JackServerName parameter to jack_client_open()
Le 24 mars 2011 à 10:31, Fons Adriaensen a écrit :
> On Wed, Mar 23, 2011 at 09:40:05PM -0400, Paul Davis wrote:
>> except that there's no "jack backend for jack". you'd have to make the
>> "slave servers" use some other audio API to route the server one level
>> up.
>
> It's not so difficult to write one, did it some years ago just as an
> experiment.
>
> This sort of thing would be a lot easier if Jack's code were structured
> a bit differently, with the engine being a shared library,
libjackserver already exist in JACK2 (I guess JACK1 also)
> exporting
> among others a function 'run_graph()' that runs a cycle on the
> complete graph.
Not yet...
>
> Then jackd would be a main program that takes care of e.g. command
> line parsing etc, loads the engine library, loads a backend, and
> inplements the glue to link them together
JACK2 does basically that, using the control API.
> (this includes creating
> the main audio processing thread).
??
>
> Others application could implement their 'backend' internally,
> or, if they are themselves a jack client, call 'run_graph()'
> from their process callback.
>
> IIRC I proposed such a thing years ago (the Jack meeting during
> the last LAC at ZKM).
>
> Ciao,
>
Real life use case for that would help...
Stéphane
1300959666.1588_0.ltw:2,a <77B33154-4A6D-4D66-8488-59501833DC73 at grame dot fr>