---
title: "setPropertyData(address:qualifier:data:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwareobject/setpropertydata(address:qualifier:data:)-7cfn"
---

# setPropertyData(address:qualifier:data:)

Tells an AudioObject to change the value of the given property using the  provided data.

## Declaration

```swift
func setPropertyData(address: AudioObjectPropertyAddress, qualifier: Data? = nil, data: inout Data) async throws
```

## Parameters

- `address`: An AudioObjectPropertyAddress indicating which property is being changed.
- `qualifier`: A buffer of data to be used in determining the data of the property being set. Note that not all properties require qualification, in which case this value will be nil.
- `data`: A buffer which on entry contains the data to be used to change the property’s value, and on exit contains the property’s value after being set.

## Discussion

Discussion The async variation of setPropertyValue does not return until the property has been set.
