<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.0.0 - 10.6.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareAddPropertyListener",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "c:@F@AudioHardwareAddPropertyListener"
  },
  "title" : "AudioHardwareAddPropertyListener"
}
-->

# AudioHardwareAddPropertyListener

```
extern OSStatus AudioHardwareAddPropertyListener(AudioHardwarePropertyID inPropertyID, AudioHardwarePropertyListenerProc inProc, void *inClientData);
```

## Parameters

`inPropertyID`

The AudioHardwarePropertyID of the property to listen to.

`inProc`

AudioHardwarePropertyListenerProc to call.

`inClientData`

A pointer to client data that is passed to the listener when it is called.

## Return Value

An OSStatus indicating success or failure.

## Discussion

\abstract Registers the given AudioHardwarePropertyListenerProc to receive notifications
when the given property changes.
\discussion Note that the same functionality is provided by AudioObjectAddPropertyListener
in conjunction with AudioObjectPropertyListenerProc.

---

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)