<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">JACK has no requirements other than that you can run your process() callback without blocking, every time.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 1:10 PM, benravin <span dir="ltr"><<a href="mailto:ben.alex@outlook.com" target="_blank">ben.alex@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I want to know the optimal buffering which i can use for designing my<br>
application.<br>
<br>
My use case is as follows, I receive digital radio signals through a tuner<br>
and does the channel and audio decoding in separate threads.<br>
Finally the audio is send to jack callback  and played out.<br>
<br>
How much of buffering is enough for real time streaming between threads.<br>
I want keep the optimal buffering between these threads.<br>
<br>
Please suggest guidelines for using with Jack.<br>
<br>
-ben<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://linux-audio.4202.n7.nabble.com/linux-audio-dev-f58952.html" rel="noreferrer" target="_blank">http://linux-audio.4202.n7.<wbr>nabble.com/linux-audio-dev-<wbr>f58952.html</a><br>
______________________________<wbr>_________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.<wbr>linuxaudio.org</a><br>
<a href="https://lists.linuxaudio.org/listinfo/linux-audio-dev" rel="noreferrer" target="_blank">https://lists.linuxaudio.org/<wbr>listinfo/linux-audio-dev</a><br>
</blockquote></div><br></div>