<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.3.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AudioFormatGetPropertyInfo(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@F@AudioFormatGetPropertyInfo"
  },
  "title" : "AudioFormatGetPropertyInfo(_:_:_:_:)"
}
-->

# AudioFormatGetPropertyInfo(_:_:_:_:)

Gets information about an audio format property.

```
func AudioFormatGetPropertyInfo(_ inPropertyID: AudioFormatPropertyID, _ inSpecifierSize: UInt32, _ inSpecifier: UnsafeRawPointer?, _ outPropertyDataSize: UnsafeMutablePointer<UInt32>) -> OSStatus
```

## Parameters

`inPropertyID`

An `AudioFormatPropertyID` constant.

`inSpecifierSize`

The size of the specifier data.

`inSpecifier`

A buffer of data used as an input argument for querying some of the properties.

`outPropertyDataSize`

The the size in bytes of the current value of the property. To get the property value, you need a buffer of this size.

## Return Value

A result code. Returns `noErr` if successful.

## Discussion

---

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)