---
title: AudioHardwareAggregateDevice
framework: Core Audio
role: symbol
role_heading: Class
platforms: [macOS 15.0+]
path: coreaudio/audiohardwareaggregatedevice
---

# AudioHardwareAggregateDevice

Instances of the AudioHardwareAggregateDevice class encapsulate a single audio aggregate device, which is a virtual device that combines the input and output streams of multiple real devices or taps. It also synchonizes the clocks of its subdevices and subtaps when running IO to ensure streams are aligned.

## Declaration

```swift
class AudioHardwareAggregateDevice
```

## Topics

### Initializers

- [init(id:)](coreaudio/audiohardwareaggregatedevice/init(id:).md)

### Instance Properties

- [activeSubdevices](coreaudio/audiohardwareaggregatedevice/activesubdevices.md)
- [activeSubtaps](coreaudio/audiohardwareaggregatedevice/activesubtaps.md)
- [clockSource](coreaudio/audiohardwareaggregatedevice/clocksource.md)
- [composition](coreaudio/audiohardwareaggregatedevice/composition.md)
- [subdevices](coreaudio/audiohardwareaggregatedevice/subdevices.md)
- [subtaps](coreaudio/audiohardwareaggregatedevice/subtaps.md)

### Instance Methods

- [setClockSource(_:)](coreaudio/audiohardwareaggregatedevice/setclocksource(_:).md)
- [setComposition(_:)](coreaudio/audiohardwareaggregatedevice/setcomposition(_:).md)
- [setSubdevices(_:)](coreaudio/audiohardwareaggregatedevice/setsubdevices(_:).md)
- [setSubtaps(_:)](coreaudio/audiohardwareaggregatedevice/setsubtaps(_:).md)

## Relationships

### Inherits From

- [AudioHardwareDevice](coreaudio/audiohardwaredevice.md)

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
