protected virtual void OnBufferFilled(EmotivStateBufferFilledEventArgs bfea) { if (BufferFilled != null) { BufferFilled(this, bfea); } }
public new void Add(EmotivState state) { if (this.Count < this.FrameCount) { base.Add(state); this.CurrentSampleIndex++; } else { this.CurrentSampleIndex = 0; EmotivStateBufferFilledEventArgs bfea = new EmotivStateBufferFilledEventArgs(this); this.OnBufferFilled(bfea); this.Clear(); base.Add(state); } }