AudioRingBuffer.prepareRead

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

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

Parameters

segment int

the segment to read

readptr ubyte[]

the pointer to the memory where samples can be read

Return Value

Type: bool

FALSE if the buffer is not started.

MT safe.