---
title: stop
framework: kernel
role: pseudoSymbol
path: kernel/ioaudioport/1811938-stop
---

# stop

Called when the IOAudioDevice is stopping when it is no longer available.

## Declaration

```occ
virtual void stop(
 IOService *provider); 
```

## Parameters

- `provider`: The IOAudioDevice that owns this port

## Overview

Overview This method calls deactivateAudioControls() to shut down all of the controls associated with this port.

## See Also

### Miscellaneous

- [addAudioControl](kernel/ioaudioport/1811855-addaudiocontrol.md)
- [deactivateAudioControls](kernel/ioaudioport/1811875-deactivateaudiocontrols.md)
- [free](kernel/ioaudioport/1811888-free.md)
- [initWithAttributes](kernel/ioaudioport/1811904-initwithattributes.md)
- [start](kernel/ioaudioport/1811924-start.md)
- [withAttributes](kernel/ioaudioport/1811950-withattributes.md)
