Minimum reasonable latency Was: Re: ZynAddSubFX was: Re: [linux-audio-dev] some new soundfiles on-line

fons adriaensen fons.adriaensen at skynet.be
Thu May 19 21:13:12 UTC 2005


On Thu, May 19, 2005 at 06:11:29PM +0200, Ralf Beck wrote:
> > > To get really accurate timing in all cases, this thread should even have
> > > higher priority than the one created by jackd (*), otherwise all events
> > > that occur while a jack_process() is running will be delayed until the
> > > end of all processing for the current cycle.
> >
> This won't help, because the process routine will only be called once by
> jack during one jack period. If its the first in the graph then your routine
> may have been processed before an event has actually arrived.

You're missing some of the details.

All events have one period added to their timestamp, so the events received in
cycle N will be processed by the process routine in cycle N+1. 

-- 
FA



More information about the Linux-audio-dev mailing list