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

# AudioUnitGetPropertyInfo(_:_:_:_:_:_:)

Gets information about an audio unit property.

```
func AudioUnitGetPropertyInfo(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inScope: AudioUnitScope, _ inElement: AudioUnitElement, _ outDataSize: UnsafeMutablePointer<UInt32>?, _ outWritable: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatus
```

## Parameters

`inUnit`

The audio unit that you want to get property information from.

`inID`

The identifier for the property.

`inScope`

The audio unit scope for the property.

`inElement`

The audio unit element for the property.

`outDataSize`

On successful output, the maximum size for the audio unit property. Can be `NULL` on input, in which case no value is returned.

`outWritable`

On successful output, a Boolean value indicating whether the property can be written to (<doc://com.apple.documentation/documentation/Swift/true>) or not (<doc://com.apple.documentation/documentation/Swift/false>). Can be `NULL` on input, in which case no value is returned.

## Return Value

A result code.

## Discussion

Some properties that have read/write access when an audio unit is uninitialized become read-only when the audio unit is initialized.

---

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)