Enumeration

Audio File Global Info Properties

Access these properties using the functions described in Working with Global Information.

Declaration

enum : AudioFilePropertyID {
    ...
};

Overview

A specifier, in the context of one of these properties, is a pointer to a buffer containing data specific to the property. Each property description names the type of the data required. You provide the data when accessing these properties using the functions described in Working with Global Information.

Topics

Constants

kAudioFileGlobalInfo_ReadableTypes

An array of UInt32 values containing the file types (such as AIFF, WAVE, and so forth) that can be opened for reading.

kAudioFileGlobalInfo_WritableTypes

An array of UInt32 values containing the file types (such as AIFF, WAVE, and so forth) that can be opened for writing.

kAudioFileGlobalInfo_FileTypeName

A CFStringRef object containing the name for the file type.

kAudioFileGlobalInfo_AvailableFormatIDs

An array of format IDs for formats that can be read.

kAudioFileGlobalInfo_AvailableStreamDescriptionsForFormat

An array of audio stream basic description structures, which contain all the formats for a particular file type and format ID.

kAudioFileGlobalInfo_AllExtensions

A CFArray of CFStrings containing all recognized file extensions. You can use this array when creating an NSOpenPanel (declared in the AppKit’s NSOpenPanel.h header file).

kAudioFileGlobalInfo_AllHFSTypeCodes

An array of HFS type codes containing all recognized HFS type codes. For more information on HFS type codes, see Audio Toolbox’s ExtendedAudioFile.h header file.

kAudioFileGlobalInfo_AllUTIs

A CFArray of CFString of all UTIs (Universal Type Identifiers) recognized by Audio File Services.

kAudioFileGlobalInfo_AllMIMETypes

A CFArray of CF strings of all MIME types are recognized by Audio File Services.

kAudioFileGlobalInfo_ExtensionsForType

A CFArray of CF strings containing the recognized file extensions for a specified type.

kAudioFileGlobalInfo_HFSTypeCodesForType

An array of HFS type codes corresponding to a specified file type. The first type in the array is the preferred one to use.

kAudioFileGlobalInfo_UTIsForType

A CFArray of CFString of all Universal Type Identifiers recognized by a specified file type.

kAudioFileGlobalInfo_MIMETypesForType

A CFArray of CFString of all MIME types recognized by a specified file type.

kAudioFileGlobalInfo_TypesForExtension

An array of all audio file type IDs that support a specified filename extension.

kAudioFileGlobalInfo_TypesForHFSTypeCode

An array of all audio file type IDs that support a specified HFSTypeCode.

kAudioFileGlobalInfo_TypesForUTI

An array of all audio file type IDs that support a specified UTI.

kAudioFileGlobalInfo_TypesForMIMEType

An array of all audio file type IDs that support a specified MIME type.