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

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

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

```
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 [Audio File Properties](/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

A result code. See Result Codes.

## Discussion

---

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)