AudioRingBuffer.clear

void clear(int segment)

Clear the given segment of the buffer with silence samples. This function is used by subclasses.

MT safe.

Parameters

segmentthe segment to clear