Contents

reset()

Resets transitory rendering state to its initial state.

Declaration

func reset()

Mentioned in

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 the Render Cycle