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

# propertyDataSize(address:qualifier:)

Queries an AudioHardwareObject to find the size of the data for the given property.

```
func propertyDataSize(address: AudioObjectPropertyAddress, qualifier: Data? = nil) throws -> Int
```

## Parameters

`address`

An AudioObjectPropertyAddress indicating which property is being queried.

`qualifier`

A buffer of data to be used in determining the data of the property being
queried. Note that not all properties require qualification, in which case this value
will be nil.

## Return Value

An Int  indicating how many bytes the data for the given property occupies.

---

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)