Table of Contents

Method Generate

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

Generate()

Generates an observable sequence that initializes and returns a new mixer context object which can be used to control simultaneous playback of multiple audio buffers.

public IObservable<MixerContext> Generate()

Returns

IObservable<MixerContext>

A sequence containing the MixerContext object.

Exceptions

InvalidOperationException

The output sequence will emit an error if the specified target device or host API cannot be found, or if the requested number of channels is not supported by the device.