Re: jack context switches (Was: Re: [linux-audio-dev] another kernel patch?)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: jack context switches (Was: Re: [linux-audio-dev] another kernel patch?)
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Tue Dec 02 2003 - 14:02:54 EET


>> The actual JACK process cycle works like this:
>> jd->A->B->jd
>
>How?
>
>How can B start immediately after A without ANY
>jackd running in between?
>
>(I am talking about external clients)

yes, its cute eh?

to expand slightly on steve's answer: the clients have opened a pair
of FIFO's that connect them into the graph. they block on read() of
one of them and when they are done with process(), they write() to the
other. they don't know who they are waking up (could be jackd, could
be another client).

of all the ideas in JACK, this is perhaps the "cleverest" :)

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Dec 02 2003 - 14:07:16 EET