AudioRingBuffer.prepareRead

bool prepareRead(out int segment, out ubyte[] readptr)

Returns a pointer to memory where the data from segment segment can be found. This function is mostly used by subclasses.

Parameters

segmentthe segment to read
readptrthe pointer to the memory where samples can be read

Returns

FALSE if the buffer is not started.

MT safe.