---
title: stop()
framework: avfaudio
role: symbol
role_heading: Instance Method
path: avfaudio/avaudiosequencer/stop()
---

# stop()

Stops the sequencer’s player.

## Declaration

```swift
func stop()
```

## Discussion

Discussion Stopping the player leaves it in an unprerolled state, but stores the playback position so that a subsequent call to start() resumes where it stops. This action doesn’t stop an audio engine you associate with it.

## See Also

### Operating an Audio Sequencer

- [prepareToPlay()](avfaudio/avaudiosequencer/preparetoplay().md)
- [start()](avfaudio/avaudiosequencer/start().md)
