Method Append
Append(Mat)
Appends an audio buffer to the end of the source playback queue.
public void Append(Mat buffer)
Parameters
bufferMatA multi-dimensional array containing the sample data, where each row holds the samples for one channel. A single-row buffer is played as a mono source and distributed across the output channels by the per-channel gain.
Exceptions
- ArgumentNullException
The buffer is null.
- ArgumentException
The number of rows is neither one nor the number of channels in the stream, the buffer contains no samples, or the sample depth is not 32-bit floating point.