---
title: addAudioControl
framework: kernel
role: pseudoSymbol
path: kernel/ioaudioport/1811855-addaudiocontrol
---

# addAudioControl

Adds a newly created IOAudioControl instance to the port.

## Declaration

```occ
virtual IOReturn addAudioControl(
 IOAudioControl *control); 
```

## Parameters

- `control`: A newly created IOAudioControl instance that should belong to this port.

## Return Value

Return Value Returns true on successfully staring the IOAudioControl.

## Overview

Overview This method is responsible for starting the new IOAudioControl and adding it to the internal audioControls array.

## See Also

### Miscellaneous

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