---
title: hasAudio
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwarebox/hasaudio
---

# hasAudio

A Bool where a value of true indicates that the box supports audio.

## Declaration

```swift
var hasAudio: Bool { get throws }
```
