---
title: "AudioFormatGetPropertyInfo(_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audioformatgetpropertyinfo(_:_:_:_:)"
---

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

Gets information about an audio format property.

## Declaration

```swift
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

Return Value A result code. Returns noErr if successful.

## See Also

### Audio Format Services Functions

- [AudioFormatGetProperty(_:_:_:_:_:)](audiotoolbox/audioformatgetproperty(_:_:_:_:_:).md)
