---
title: "AudioFileGetGlobalInfoSize(_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audiofilegetglobalinfosize(_:_:_:_:)"
---

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

Gets the size of a global audio file property.

## Declaration

```swift
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 doc://com.apple.audiotoolbox/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

Return Value A result code. See Result Codes.

## Discussion

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.

## See Also

### Working with Global Information

- [AudioFileGetGlobalInfo(_:_:_:_:_:)](audiotoolbox/audiofilegetglobalinfo(_:_:_:_:_:).md)
