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

# setClockSource(_:)

Set the clockSource property.

## Declaration

```swift
func setClockSource(_ object: AudioHardwareObject) throws
```
