using System; // ReSharper disable once CheckNamespace namespace NAudio.Wave { /// /// An interface for WaveStreams which can report notification of individual samples /// public interface ISampleNotifier { /// /// A sample has been detected /// event EventHandler Sample; } /// /// Sample event arguments /// public class SampleEventArgs : EventArgs { /// /// Left sample /// public float Left { get; set; } /// /// Right sample /// public float Right { get; set; } /// /// Constructor /// public SampleEventArgs(float left, float right) { Left = left; Right = right; } } }