AudioFileGetGlobalInfoSize(_:_:_:_:)
Gets the size of a global audio file property.
Declaration
func AudioFileGetGlobalInfoSize(_ inPropertyID: AudioFilePropertyID, _ inSpecifierSize: UInt32, _ inSpecifier: UnsafeMutableRawPointer?, _ outDataSize: UnsafeMutablePointer<UInt32>) -> OSStatusParameters
- inPropertyID:
The property whose data size you want to get. For possible values, see 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.