Class ConcatenatingSampleProvider
- Namespace
- NAudio.Wave.SampleProviders
- Assembly
- NAudio.Core.dll
Sample Provider to concatenate multiple sample providers together
public class ConcatenatingSampleProvider : ISampleProvider
- Inheritance
-
ConcatenatingSampleProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
ConcatenatingSampleProvider(IEnumerable<ISampleProvider>)
Creates a new ConcatenatingSampleProvider
public ConcatenatingSampleProvider(IEnumerable<ISampleProvider> providers)
Parameters
providersIEnumerable<ISampleProvider>The source providers to play one after the other. Must all share the same sample rate and channel count
Properties
WaveFormat
The WaveFormat of this Sample Provider
public WaveFormat WaveFormat { get; }
Property Value
Methods
Read(Span<float>)
Read Samples from this sample provider
public int Read(Span<float> buffer)