Instance Method

createAudioUnitWithComponentDescription:error:

Creates an instance of an extension’s audio unit.

Required.

Declaration

- (AUAudioUnit *)createAudioUnitWithComponentDescription:(AudioComponentDescription)desc error:(NSError * _Nullable *)error;

Parameters

desc

The description of the audio component.

error

An error if the operation failed.

Return Value

An instance of the extension’s audio unit.

Discussion

This method is called only once per factory instance.

See Also

Required Methods

- requestViewControllerWithCompletionHandler:

Requests an audio unit's custom view controller.

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