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

# AudioFileGetGlobalInfoSize(_:_:_:_:)

Gets the size of a global audio file property.

```
func AudioFileGetGlobalInfoSize(_ inPropertyID: AudioFilePropertyID, _ inSpecifierSize: UInt32, _ inSpecifier: UnsafeMutableRawPointer?, _ outDataSize: UnsafeMutablePointer<UInt32>) -> OSStatus
```

## Parameters

`inPropertyID`

The property whose data size you want to get. For possible values, see [Audio File Global Info Properties](/documentation/AudioToolbox/1576495-audio-file-global-info-propertie).

`inSpecifierSize`

The size of the specifier data.

`inSpecifier`

A pointer to a *specifier* (a pointer to a buffer containing some data which is different for each property. The type of the data required is described in the description of each property.)

`outDataSize`

A pointer to the size in bytes of the current value of the property. To get the size of the property value,  you need a buffer of this size.

## Return Value

A result code. See Result Codes.

## Discussion

This function can be used to get information about the capabilities of Audio File Service data types, for example, to determine which file types can take which data formats.

---

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)