Function

AudioFileGetGlobalInfoSize

Gets the size of a global audio file property.

Declaration

OSStatus AudioFileGetGlobalInfoSize(AudioFilePropertyID 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.

See Also

Working with Global Information

AudioFileGetGlobalInfo

Copies the value of a global property into a buffer.