---
title: reset()
framework: audiotoolbox
role: symbol
role_heading: Instance Method
path: audiotoolbox/auaudiounit/reset()
---

# reset()

Resets transitory rendering state to its initial state.

## Declaration

```swift
func reset()
```

## Mentioned in

Migrating Your Audio Unit Host to the AUv3 API

## Discussion

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

- [allocateRenderResources()](audiotoolbox/auaudiounit/allocaterenderresources().md)
- [deallocateRenderResources()](audiotoolbox/auaudiounit/deallocaterenderresources().md)
- [renderResourcesAllocated](audiotoolbox/auaudiounit/renderresourcesallocated.md)
- [renderBlock](audiotoolbox/auaudiounit/renderblock.md)
- [scheduleParameterBlock](audiotoolbox/auaudiounit/scheduleparameterblock.md)
- [maximumFramesToRender](audiotoolbox/auaudiounit/maximumframestorender.md)
- [token(byAddingRenderObserver:)](audiotoolbox/auaudiounit/token(byaddingrenderobserver:).md)
- [removeRenderObserver(_:)](audiotoolbox/auaudiounit/removerenderobserver(_:).md)
- [AURenderObserver](audiotoolbox/aurenderobserver.md)
