<!--
{
  "availability" : [
    "macOS: 10.5.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AudioHardwareServiceHasProperty(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@F@AudioHardwareServiceHasProperty"
  },
  "title" : "AudioHardwareServiceHasProperty(_:_:)"
}
-->

# AudioHardwareServiceHasProperty(_:_:)

Queries a HAL audio object about whether or not it has a specified property.

```
func AudioHardwareServiceHasProperty(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>!) -> Bool
```

## Parameters

`inObjectID`

The HAL audio object to query.

`inAddress`

The property that you are asking about.

## Return Value

A Boolean value that indicates whether the HAL audio object does have the property (`true`) or not (`false`).

## See Also

[`AudioHardwareServiceIsPropertySettable(_:_:_:)`](/documentation/AudioToolbox/AudioHardwareServiceIsPropertySettable(_:_:_:))

Queries a HAL audio object about whether a specified property is settable.



---

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)