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

# AudioDeviceGetPropertyInfo

```
extern OSStatus AudioDeviceGetPropertyInfo(AudioDeviceID inDevice, UInt32 inChannel, Boolean isInput, AudioDevicePropertyID inPropertyID, UInt32 *outSize, Boolean *outWritable);
```

## Parameters

`inDevice`

The AudioDevice to query.

`inChannel`

The channel of the property to query where 0 is the main channel.

`isInput`

Which section of the AudioDevice to query.

`inPropertyID`

The AudioDevicePropertyID of the property to query.

`outSize`

A pointer to a UInt32 that receives the size of the property data in bytes
on exit. This can be NULL if the size information is not being requested.

`outWritable`

A pointer to a Boolean that receives indication of whether or not the given
property can be set. This can be NULL if the writability is not being
requested.

## Return Value

An OSStatus indicating success or failure.

## Discussion

\abstract Retrieve information about the given property of an AudioDevice.
\discussion Note that the same functionality is provided by the functions
AudioObjectHasProperty(), AudioObjectIsPropertySettable(), and
AudioObjectGetPropertyDataSize().

---

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)