Contents

init(audioComponentDescription:)

Creates a time effect audio unit with the specified description.

Declaration

init(audioComponentDescription: AudioComponentDescription)

Parameters

  • audioComponentDescription:

    The description of the audio unit to create.

Return Value

A new AVAudioUnitTimeEffect instance.

Discussion

The componentType field of the description structure must be kAudioUnitType_FormatConverter (”aufc”); otherwise, the method raises an exception.