Method Process
Process<TSource>(IObservable<TSource>)
Updates the properties of the specified audio source whenever the source sequence emits a notification.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
sourceIObservable<TSource>The sequence containing the notifications used to trigger the update of the audio source.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of updating the properties of the specified audio source whenever the sequence emits a notification.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.
Process(IObservable<AudioSource>)
Updates the properties of all the audio sources in an observable sequence.
public IObservable<AudioSource> Process(IObservable<AudioSource> source)
Parameters
sourceIObservable<AudioSource>A sequence of AudioSource objects whose properties should be updated.
Returns
- IObservable<AudioSource>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of updating the properties of each of the audio sources in the sequence.
Remarks
If SourceName is not null or empty, this method behaves as Process<TSource>(IObservable<TSource>).