Instance Method

reset()

Resets transitory rendering state to its initial state.

Declaration

func reset()

Discussion

Hosts should call this at the point of a discontinuity in the input stream being provided to an audio unit—for example, when seeking forward or backward within a track. In response, audio units should clear delay lines, filters, etc. Subclasses should call the superclass implementation.

This version 3 method is bridged to the version 2 AudioUnitReset(_:_:_:) API, in the global scope.

See Also

Managing Render Resources

func allocateRenderResources()

Allocates resources required to render audio.

func deallocateRenderResources()

Deallocates resources required to render audio.

var renderResourcesAllocated: Bool

Determines whether the audio unit has allocated render resources.

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