<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/IOType/aggregated",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioSessionIOType@AVAudioSessionIOTypeAggregated"
  },
  "title" : "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.

```
case aggregated
```

## Discussion

Use this value if your session uses [`playAndRecord`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/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`](/documentation/AVFAudio/AVAudioSession/CategoryOptions-swift.struct/mixWithOthers) option and another app’s audio session was already active with nonmixable, nonaggregated I/O.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)