Contents

AudioUnitGetPropertyInfo(_:_:_:_:_:_:)

Gets information about an audio unit property.

Declaration

func AudioUnitGetPropertyInfo(_ inUnit: AudioUnit, _ inID: AudioUnitPropertyID, _ inScope: AudioUnitScope, _ inElement: AudioUnitElement, _ outDataSize: UnsafeMutablePointer<UInt32>?, _ outWritable: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatus

Parameters

  • inUnit:

    The audio unit that you want to get property information from.

  • inID:

    The identifier for the property.

  • inScope:

    The audio unit scope for the property.

  • inElement:

    The audio unit element for the property.

  • outDataSize:

    On successful output, the maximum size for the audio unit property. Can be NULL on input, in which case no value is returned.

  • outWritable:

    On successful output, a Boolean value indicating whether the property can be written to (True) or not (False). Can be NULL on input, in which case no value is returned.

Return Value

A result code.

Discussion

Some properties that have read/write access when an audio unit is uninitialized become read-only when the audio unit is initialized.

See Also

Configuring Audio Unit Properties