---
title: AVAudioSession.IOType.aggregated
framework: avfaudio
role: symbol
role_heading: Case
path: avfaudio/avaudiosession/iotype/aggregated
---

# AVAudioSession.IOType.aggregated

An I/O type that indicates if audio input and output should be presented in the same realtime I/O callback.

## Declaration

```swift
case aggregated
```

## Discussion

Discussion Use this value if your session uses playAndRecord and requires input and output audio to be presented in the same realtime I/O callback. For example, if your app uses a Remote I/O with both input and output enabled. An audio session’s preference to use aggregated I/O won’t be honored if it specifies the mixWithOthers option and another app’s audio session was already active with nonmixable, nonaggregated I/O.

## See Also

### I/O Types

- [AVAudioSession.IOType.notSpecified](avfaudio/avaudiosession/iotype/notspecified.md)
