---
title: "AudioFileGetPropertyInfo(_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audiofilegetpropertyinfo(_:_:_:_:)"
---

# AudioFileGetPropertyInfo(_:_:_:_:)

Gets information about an audio file property, including the size of the property value and whether the value is writable.

## Declaration

```swift
func AudioFileGetPropertyInfo(_ inAudioFile: AudioFileID, _ inPropertyID: AudioFilePropertyID, _ outDataSize: UnsafeMutablePointer<UInt32>?, _ isWritable: UnsafeMutablePointer<UInt32>?) -> OSStatus
```

## Parameters

- `inAudioFile`: The audio file you want to obtain property value information from.
- `inPropertyID`: The property whose value information you want. See doc://com.apple.audiotoolbox/documentation/AudioToolbox/1576499-audio-file-properties for possible values.
- `outDataSize`: On output, the size in bytes of the property value.
- `isWritable`: On output, equals 1 if the property is writable, or 0 if it is read-only.

## Return Value

Return Value A result code. See Result Codes.

## See Also

### Getting and Setting Audio File Properties

- [AudioFileGetProperty(_:_:_:_:)](audiotoolbox/audiofilegetproperty(_:_:_:_:).md)
- [AudioFileSetProperty(_:_:_:_:)](audiotoolbox/audiofilesetproperty(_:_:_:_:).md)
