AUParameterObserver

Type Alias AUParameterObserver 

Source
pub type AUParameterObserver = *mut DynBlock<dyn Fn(AUParameterAddress, AUValue)>;
Available on crate features AUParameters and block2 only.
Expand description

A block called to signal that the value of a parameter has changed.

See the discussion of -[AUParameterNode tokenByAddingParameterObserver:].

Parameter address: The address of the parameter whose value changed.

Parameter value: The current value of the parameter.

See also Apple’s documentation