public void ReadFrame(DataPointer Buffer) { int startFrame = readCursor; Buffer.CopyFrom(buffer, readCursor, frameSize); readCursor += frameSize; if (readCursor >= bufferSize) { readCursor = 0; if (writeWrap) { writeWrap = false; } else { Reset(); } } CheckOverread(); }
public void ReadSilentFrame(DataPointer Buffer) { Buffer.CopyFrom(silentFrame, 0, frameSize); }