public void Reset() { this.CurrentState = default(State); this.SampleIndexInBlock = 0; this.SampleIndexInBlock2 = 0; this.ReachedEnd = false; this.CurrentLoopCount = 0; }