Gets the size of a global audio file property.
SDKs
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Audio
Toolbox
Declaration
OSStatus AudioFileGetGlobalInfoSize(Audio File Property ID inPropertyID, UInt32 inSpecifierSize, void *inSpecifier, UInt32 *outDataSize);
Parameters
inPropertyID
The property whose data size you want to get. For possible values, see Audio File Global Info Properties.
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.