Namespace ValveResourceFormat.Renderer.Audio.SampleProviders ​
Classes ​
| Name | Description |
|---|---|
| AudioSampleProvider | Base sample provider with a perceptual volume control and an end-of-sound notification. |
| CachedSoundSampleProvider | Streams samples out of a CachedSound, honoring its loop points. Supports pitch shifting by resampling at a fractional playback rate. |
| SampleProvider2D | Plays an inner sample provider without spatialization, applying only AudioSampleProvider.Volume. |
| SampleProvider3D | A positional sound with stereo panning and distance based attenuation. Attenuation follows SampleProvider3D.DistanceVolumeCurve when set, then SampleProvider3D.DistanceMult, otherwise a simple exponential falloff over SampleProvider3D.Range. |
| SampleProviderMixer | The root mixer. Unlike SampleProviderMulti it always produces a full buffer, padding with silence. |
| SampleProviderMulti | Sums multiple sample providers into one stream. Providers that run out of samples are removed automatically. Thread safe: providers can be added and removed while the mixing thread is reading. |
| SampleProviderSpatial | Applies per-ear volumes to a stereo stream based on the listener's orientation. Volumes are interpolated across each buffer to avoid zipper noise. |
Interfaces ​
| Name | Description |
|---|---|
| IAudioSampleProvider | A source of interleaved 32-bit float audio samples in the mixer's output format. |

