public void Clear() { _readPosition = 0; _writePosition = 0; _sampleCount = 0; _buffer = new SampleArray(_buffer.Length); }