using System; using System.Collections.Generic; using System.Text; namespace NAudio.Wave.SampleProviders { /// /// Sample provider interface to make WaveChannel32 extensible /// Still a bit ugly, hence internal at the moment - and might even make these into /// bit depth converting WaveProviders /// interface ISampleChunkConverter { bool Supports(WaveFormat format); void LoadNextChunk(IWaveProvider sourceProvider, int samplePairsRequired); bool GetNextSample(out float sampleLeft, out float sampleRight); } }