AUParameterNode.CreateTokenByAddingParameterRecordingObserver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.