Instance Method

createAudioUnit(with:)

Creates an instance of an extension’s audio unit.

Required.

Declaration

func createAudioUnit(with desc: AudioComponentDescription) throws -> AUAudioUnit

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

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