[LAD] Jack buffer requirements

benravin ben.alex at outlook.com
Thu Sep 14 17:56:14 UTC 2017


>> JACK has no requirements other than that you can run your process()
callback without blocking, every time.

How much buffering needs to exist to make sure that can happen depends
hugely on what the non-RT part of things is doing. For comparison, when the
non-RT part does disk i/o, you need to be ready for potentially several
seconds of delay in refilling (or emptying) buffers.  If the disk i/o
wasn't there, the buffering requirements would be much smaller.


I don't have any disk I/O operations, I receive data from a USB dongle at a
constant rate. 

If I have 'N' clients running, then the time I can spend on each callback
for processing is 
= (audio_buffer_period  -  ( process_time * N ) )

Is that correct ?

-ben




--
Sent from: http://linux-audio.4202.n7.nabble.com/linux-audio-dev-f58952.html


More information about the Linux-audio-dev mailing list