[Stk] relationship between rtaudio buffer size and jack buffer size?

Iain Duncan iainduncanlists at gmail.com
Sat Sep 10 19:28:01 PDT 2011


Thanks for the explanation, Gary. Does this mean the buffer size is
equivalent to the csound ksmps number? ie this is the number of samples
computed in one pass of the audio number crunching loop?

thanks so much for the help on a Saturday night. =)
iain

On Sat, Sep 10, 2011 at 6:50 PM, Gary Scavone <gary at ccrma.stanford.edu>wrote:

> Hi Iain,
>
> The rtaudio buffer size is the number of sample frames passed back and
> forth between RtAudio and Jack.  I assume (but I'm not sure) the jack buffer
> size specified when starting the jack server corresponds to the number of
> sample frames that jack passes and receives from the underlying audio
> hardware it interfaces with.  Jack probably can do internal buffering but it
> might be best to set these to the same value.
>
> --gary
>
> On 2011-09-10, at 6:35 PM, Iain Duncan wrote:
>
> > Hi, if this is the wrong list, please let me know. I'm wondering if
> someone can explain the relationship between the buffer size I choose in my
> app for rtaudio output and the buffer size I choose when starting the jack
> server? Is there double buffering going on, or does the app level buffer do
> anything at all using jack?
> >
> > thanks
> > iain
> > _______________________________________________
> > Stk mailing list
> > Stk at ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20110910/ce2747e8/attachment.html 


More information about the Stk mailing list