---
title: "setSubdevices(_:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwareaggregatedevice/setsubdevices(_:)"
---

# setSubdevices(_:)

Set the subdevices property.

## Declaration

```swift
func setSubdevices(_ devices: [AudioHardwareClock]) throws
```

## Parameters

- `devices`: An array of AudioHardwareClocks representing all the devices and clocks to include in the aggregate device.
