<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareObject/setPropertyData(address:qualifier:data:)-7cfn",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B14HardwareObjectC15setPropertyData7address9qualifier4dataySo0bdF7AddressV_10Foundation0G0VSgALztYaKF"
  },
  "title" : "setPropertyData(address:qualifier:data:)"
}
-->

# setPropertyData(address:qualifier:data:)

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

```
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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)