public CircularSampleBuffer(int size) { _buffer = new SampleArray(size); _writePosition = 0; _readPosition = 0; _sampleCount = 0; }