using System; namespace NAudio.Wave { /// /// Generic interface for all WaveProviders. /// public interface IWaveProvider { /// /// Gets the WaveFormat of this WaveProvider. /// /// The wave format. WaveFormat WaveFormat { get; } /// /// Fill the specified buffer with wave data. /// /// The buffer to fill of wave data. /// Offset into buffer /// The number of bytes to read /// the number of bytes written to the buffer. int Read(byte[] buffer, int offset, int count); } }