---
title: "setOutputAudioUnit(_:)"
framework: CoreAudioKit
role: symbol
role_heading: Instance Method
platforms: [iOS 8.0+, iPadOS 8.0+, Mac Catalyst 14.0+, visionOS 1.0+]
path: "coreaudiokit/cainterappaudioswitcherview/setoutputaudiounit(_:)"
---

# setOutputAudioUnit(_:)

## Declaration

```swift
func setOutputAudioUnit(_ au: AudioUnit?)
```

## See Also

### Configuring the View

- [isShowingAppNames](coreaudiokit/cainterappaudioswitcherview/isshowingappnames.md)
- [contentWidth()](coreaudiokit/cainterappaudioswitcherview/contentwidth().md)
