Method Process
Process(IObservable<Mat>)
Plays an observable sequence of buffered samples to the specified audio device.
public override IObservable<Mat> Process(IObservable<Mat> source)
Parameters
sourceIObservable<Mat>A sequence of Mat objects representing the buffered audio samples to queue for playback on the specified audio device.
Returns
- IObservable<Mat>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of queueing the audio buffers for playback on the specified audio device.
Remarks
This operator only subscribes to the source sequence after
initializing the audio context on the specified audio device.
Process(IObservable<Mat>, IObservable<AudioSource>)
Plays an observable sequence of buffered samples to all the specified audio sources.
public IObservable<Mat> Process(IObservable<Mat> dataSource, IObservable<AudioSource> audioSource)
Parameters
dataSourceIObservable<Mat>A sequence of Mat objects representing the buffered audio samples to queue for playback on all the active audio sources.
audioSourceIObservable<AudioSource>A sequence of AudioSource objects on which to queue the buffered audio samples for playback.
Returns
- IObservable<Mat>
An observable sequence that is identical to the
dataSourcesequence but where there is an additional side effect of queueing the audio buffers for playback on all the active audio sources.
Remarks
This operator only subscribes to the dataSource sequence
after initializing the audio context on the specified audio device.