How should processFloat/processDouble calls be buffered. If I’m getting input (and require output) at some nFrames chunks and libpd’s blocksize is 64, then how should I handle it so that input/output occurs in sync and without gaps.

I see there’s a ring buffer implementation in the lib:

https://github.com/libpd/libpd/blob/master/libpd_wrapper/util/ringbuffer.c

Now how to use that for example for buffering correctly?


I’m using the C++ headers.