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.