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