Interface IAudioSampleProvider ​
Namespace: ValveResourceFormat.Renderer.Audio.SampleProviders
Assembly: Renderer.dll
A source of interleaved 32-bit float audio samples in the mixer's output format.
csharp
public interface IAudioSampleProviderMethods ​
Read(float[], int, int) ​
Fills buffer with up to count samples starting at offset. Returns the number of samples written. A return value smaller than count signals the end of the sound.
csharp
int Read(float[] buffer, int offset, int count)Parameters ​
buffer float[]
offset int
count int

