AUParameterNode.CreateTokenByAddingParameterRecordingObserver Method

Definition

Adds a recording observer for the parameter and returns a token that developers can use to identify it.

public AudioUnit.AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver (AudioUnit.AUParameterRecordingObserver observer);
member this.CreateTokenByAddingParameterRecordingObserver : AudioUnit.AUParameterRecordingObserver -> AudioUnit.AUParameterObserverToken

Parameters

observer
AUParameterRecordingObserver

The block that is called after the parameter changes.

Returns

A token that can be passed to the RemoveParameterObserver(IntPtr) and SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType) methods.

Applies to