using System;
using System.Collections.Generic;
using System.Text;
namespace NAudio.Wave
{
///
/// Like IWaveProvider, but makes it much simpler to put together a 32 bit floating
/// point mixing engine
///
public interface ISampleProvider
{
///
/// Gets the WaveFormat of this Sample Provider.
///
/// The wave format.
WaveFormat WaveFormat { get; }
///
/// Fill the specified buffer with 32 bit floating point samples
///
/// The buffer to fill with samples.
/// Offset into buffer
/// The number of samples to read
/// the number of samples written to the buffer.
int Read(float[] buffer, int offset, int count);
}
}