Returns a pointer to memory where the data from segment segment
can be found.
This function is mostly used by subclasses.
this |
the RingBuffer to read from |
segment |
the segment to read |
readptr |
the pointer to the memory where samples can be read |
len |
the number of bytes to read |