Function

AudioFileGetPropertyInfo

Gets information about an audio file property, including the size of the property value and whether the value is writable.

Declaration

OSStatus AudioFileGetPropertyInfo(AudioFileID inAudioFile, AudioFilePropertyID inPropertyID, UInt32 *outDataSize, UInt32 *isWritable);

Parameters

inAudioFile

The audio file you want to obtain property value information from.

inPropertyID

The property whose value information you want. See Audio File Properties for possible values.

outDataSize

On output, the size in bytes of the property value.

isWritable

On output, equals 1 if the property is writable, or 0 if it is read-only.

Return Value

A result code. See Result Codes.

See Also

Getting and Setting Audio File Properties

AudioFileGetProperty

Gets the value of an audio file property.

AudioFileSetProperty

Sets the value of an audio file property