19 lines
594 B
C#
19 lines
594 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace NAudio.Wave.SampleProviders
|
|
{
|
|
/// <summary>
|
|
/// 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
|
|
/// </summary>
|
|
interface ISampleChunkConverter
|
|
{
|
|
bool Supports(WaveFormat format);
|
|
void LoadNextChunk(IWaveProvider sourceProvider, int samplePairsRequired);
|
|
bool GetNextSample(out float sampleLeft, out float sampleRight);
|
|
}
|
|
}
|