---
title: "AudioConverterGetProperty(_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audioconvertergetproperty(_:_:_:_:)"
---

# AudioConverterGetProperty(_:_:_:_:)

Gets an audio converter property value.

## Declaration

```swift
func AudioConverterGetProperty(_ inAudioConverter: AudioConverterRef, _ inPropertyID: AudioConverterPropertyID, _ ioPropertyDataSize: UnsafeMutablePointer<UInt32>, _ outPropertyData: UnsafeMutableRawPointer) -> OSStatus
```

## Parameters

- `inAudioConverter`: The audio converter to get a property value from.
- `inPropertyID`: The property whose value you want.
- `ioPropertyDataSize`: On input, the size of the memory pointed to by the outPropertyData parameter. On output, the size of the property value.
- `outPropertyData`: On output, the property value you wanted to get.

## Return Value

Return Value A  result code.

## Discussion

Discussion Some Core Audio property values are C types and others are Core Foundation objects. If you call this function to retrieve a value that is a Core Foundation object, then this function—despite the use of “Get” in its name—duplicates the object. You are responsible for releasing the object, as described in The Create Rule in Memory Management Programming Guide for Core Foundation.

## See Also

### Configuring Audio Converter Properties

- [AudioConverterGetPropertyInfo(_:_:_:_:)](audiotoolbox/audioconvertergetpropertyinfo(_:_:_:_:).md)
- [AudioConverterSetProperty(_:_:_:_:)](audiotoolbox/audioconvertersetproperty(_:_:_:_:).md)
