---
title: IOAudioPort
framework: kernel
role: symbol
role_heading: Class
path: kernel/ioaudioport
---

# IOAudioPort

Represents a logical or physical port or functional unit in an audio device.

## Declaration

```occ
class IOAudioPort : IOService
```

## Overview

Overview An IOAudioPort represents an element in the signal chain in the audio device. It may contain one or more controls (represented by IOAudioControl) by which different attributes of the port may be represented and adjusted. IOAudioPort objects are connected up in the IORegistry in the IOAudioPlane to represent the signal chain of the device. They may be connected to other IOAudioPorts as well as IOAudioEngines to indicate they either feed into or are fed by one of the audio engines (i.e. they provide input to or take output from the computer).

## Topics

### 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)
- [stop](kernel/ioaudioport/1811938-stop.md)
- [withAttributes](kernel/ioaudioport/1811950-withattributes.md)

### Instance Methods

- [addAudioControl](kernel/ioaudioport/1543207-addaudiocontrol.md)
- [deactivateAudioControls](kernel/ioaudioport/1543202-deactivateaudiocontrols.md)
- [free](kernel/ioaudioport/1543206-free.md)
- [getAudioDevice](kernel/ioaudioport/1543209-getaudiodevice.md)
- [getMetaClass](kernel/ioaudioport/1543204-getmetaclass.md)
- [initWithAttributes](kernel/ioaudioport/1543213-initwithattributes.md)
- [registerService](kernel/ioaudioport/1543216-registerservice.md)
- [setName](kernel/ioaudioport/1543221-setname.md)
- [setSubType](kernel/ioaudioport/1543200-setsubtype.md)
- [setType](kernel/ioaudioport/1543220-settype.md)
- [start](kernel/ioaudioport/1543218-start.md)
- [stop](kernel/ioaudioport/1543214-stop.md)

### Type Methods

- [withAttributes](kernel/ioaudioport/1543211-withattributes.md)

## Relationships

### Inherits From

- [IOService](kernel/ioservice.md)

## See Also

### Interfaces

- [IOAudioLevelControl](kernel/ioaudiolevelcontrol.md)
- [IOAudioSelectorControl](kernel/ioaudioselectorcontrol.md)
- [IOAudioToggleControl](kernel/ioaudiotogglecontrol.md)
- [IOAudioControl](kernel/ioaudiocontrol.md)
- [IOAudioEngine](kernel/ioaudioengine.md)
- [IOAudioStream](kernel/ioaudiostream.md)
