---
title: defaultOutputDevice
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaresystem/defaultoutputdevice
---

# defaultOutputDevice

The default output audio device on the system, or nil if there is no default output device.

## Declaration

```swift
var defaultOutputDevice: AudioHardwareDevice? { get throws }
```
