---
title: "AudioUnitGetPropertyInfo(_:_:_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audiounitgetpropertyinfo(_:_:_:_:_:_:)"
---

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

Gets information about an audio unit property.

## Declaration

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

Return Value A result code.

## Discussion

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

## See Also

### Configuring Audio Unit Properties

- [AudioUnitGetProperty(_:_:_:_:_:_:)](audiotoolbox/audiounitgetproperty(_:_:_:_:_:_:).md)
- [AudioUnitSetProperty(_:_:_:_:_:_:)](audiotoolbox/audiounitsetproperty(_:_:_:_:_:_:).md)
- [AudioUnitAddPropertyListener(_:_:_:_:)](audiotoolbox/audiounitaddpropertylistener(_:_:_:_:).md)
- [AudioUnitRemovePropertyListenerWithUserData(_:_:_:_:)](audiotoolbox/audiounitremovepropertylistenerwithuserdata(_:_:_:_:).md)
