Contents

AudioFileGetPropertyInfo(_:_:_:_:)

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

Declaration

func AudioFileGetPropertyInfo(_ inAudioFile: AudioFileID, _ inPropertyID: AudioFilePropertyID, _ outDataSize: UnsafeMutablePointer<UInt32>?, _ isWritable: UnsafeMutablePointer<UInt32>?) -> OSStatus

Parameters

  • inAudioFile:

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

  • inPropertyID:

    The property whose value information you want. See 1576499 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