Contents

AudioFormatGetPropertyInfo(_:_:_:_:)

Gets information about an audio format property.

Declaration

func AudioFormatGetPropertyInfo(_ inPropertyID: AudioFormatPropertyID, _ inSpecifierSize: UInt32, _ inSpecifier: UnsafeRawPointer?, _ outPropertyDataSize: UnsafeMutablePointer<UInt32>) -> OSStatus

Parameters

  • inPropertyID:

    An AudioFormatPropertyID constant.

  • inSpecifierSize:

    The size of the specifier data.

  • inSpecifier:

    A buffer of data used as an input argument for querying some of the properties.

  • outPropertyDataSize:

    The the size in bytes of the current value of the property. To get the property value, you need a buffer of this size.

Return Value

A result code. Returns noErr if successful.

See Also

Audio Format Services Functions