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
source
IObservable<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
source
sequence 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
TSource
The type of the elements in the
source
sequence.
Process(IObservable<AudioSource>)
Updates the properties of all the audio sources in an observable sequence.
public IObservable<AudioSource> Process(IObservable<AudioSource> source)
Parameters
source
IObservable<AudioSource>A sequence of AudioSource objects whose properties should be updated.
Returns
- IObservable<AudioSource>
An observable sequence that is identical to the
source
sequence 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>).