< Back to IRCAM Forum

Is ther any reason that the minimum maxsize for a ring buffer is 128?

I’m using a ringbuffer track to record recent entry delays of a performer, and I only need the last 20 or so EDs, but the minimum size of a ringbuffer is 128. Obviously, I can grab chunks of the matrix data with a ‘getmatrix 1 20’ message, but seems an unnecessary workaround – just wondering if that was an arbitrary limit, or if there’s a reason behind it…

\M

Hi,

128 is the arbitrary default value for maxsize (just to have some space at instantiation).
Historically it is also the minimum value, but there should be no problems clipping the minimum to 1.
We will change it for the next release.
Best