Instance Method

parameterWithID:scope:element:

Searches the tree for a specific version 2 audio unit parameter.

Declaration

- (AUParameter *)parameterWithID:(AudioUnitParameterID)paramID scope:(AudioUnitScope)scope element:(AudioUnitElement)element;

Parameters

paramID

The parameter ID with which to search the tree.

scope

The scope with which to search the tree.

element

The element with which to search the tree.

Return Value

The parameter corresponding to the supplied ID, scope, and element. Returns nil if the parameter is nonexistent or if it is not associated with a version 2 audio unit.

Discussion

Version 2 audio units publish parameters identified by a parameter ID, scope, and element. A host that knows that it is dealing with a version 2 audio unit can locate parameters using this method—for example, for the Apple-supplied system audio units.

See Also

Obtaining Tree Parameters

- parameterWithAddress:

Searches the tree for a parameter with a specific address.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software