Contents

AudioCodecGetPropertyInfo(_:_:_:_:)

Retrieves information about a codec property.

Declaration

func AudioCodecGetPropertyInfo(_ inCodec: AudioCodec, _ inPropertyID: AudioCodecPropertyID, _ outSize: UnsafeMutablePointer<UInt32>?, _ outWritable: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatus

Parameters

  • inCodec:

    An audio codec object. Because an audio codec object is a Component Manger component instance, you can use the Component Manager (for example, the functions 1516552 Findnextcomponent and OpenAComponent) to obtain an audio codec object.

  • inPropertyID:

    Property ID of the property about which you want to obtain information. Codec property IDs are listed in 1494121 Global Codec Properties and 1494111 Instance Codec Properties.

  • outSize:

    On return, size in bytes of the current value of the property.

  • outWritable:

    Returns true if you can change the value of the property, otherwise false.

Return Value

Returns NoErr if successful, otherwise, a result code. See Result Codes for a list of possible values.

Discussion

Call this function to:

See Also

Accessing Codec Properties