Re: [LAD] Jack buffer requirements

From: benravin <ben.alex@email-addr-hidden>
Date: Thu Sep 14 2017 - 20:56:14 EEST

>> 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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
https://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Sep 15 00:15:02 2017

This archive was generated by hypermail 2.1.8 : Fri Sep 15 2017 - 00:15:02 EEST