Class MixerContext
Represents an audio mixer which allows asynchronous queueing of multiple buffers for simultaneous playback over a single PortAudio output stream.
public class MixerContext : IDisposable
- Inheritance
-
MixerContext
- Implements
- Inherited Members
Properties
- ChannelCount
Gets the number of output channels in the stream.
- OutputLatency
Gets the output latency of the stream, in seconds.
- SampleRate
Gets the sample rate of the stream, in samples per second.
Methods
- CreateSource(bool, bool, float)
Creates a new mixer source whose playback queue can be controlled independently of any other source mixed into the output stream.
- Dispose()
Disposes the mixer context and closes the audio stream.
- PlayBuffer(Mat)
Plays an audio buffer as a one-shot source that is removed once it finishes playing.
- Start()
Initiates mixer audio processing.
- Stop()
Stops mixer audio processing.
- ToString()
Returns a string that represents the current object.