---
title: multiRoute
framework: avfaudio
role: symbol
role_heading: Type Property
path: avfaudio/avaudiosession/category-swift.struct/multiroute
---

# multiRoute

The category for routing distinct streams of audio data to different output devices at the same time.

## Declaration

```swift
static let multiRoute: AVAudioSession.Category
```

## Discussion

Discussion This category can be used for input, output, or both. For example, use this category to route audio to both a USB device and a set of headphones. Use of this category requires a more detailed knowledge of, and interaction with, the capabilities of the available audio routes. important: Route changes can invalidate part or all of your multi-route configuration.  When using the multiRoute category, it is essential that you register to observe routeChangeNotification notifications and update your configuration as necessary.

## See Also

### Getting Standard Categories

- [ambient](avfaudio/avaudiosession/category-swift.struct/ambient.md)
- [playAndRecord](avfaudio/avaudiosession/category-swift.struct/playandrecord.md)
- [playback](avfaudio/avaudiosession/category-swift.struct/playback.md)
- [record](avfaudio/avaudiosession/category-swift.struct/record.md)
- [soloAmbient](avfaudio/avaudiosession/category-swift.struct/soloambient.md)
- [audioProcessing](avfaudio/avaudiosession/category-swift.struct/audioprocessing.md)
