Function

AudioUnitGetParameter

Gets the value of an audio unit parameter.

Declaration

OSStatus AudioUnitGetParameter(AudioUnit inUnit, AudioUnitParameterID inID, AudioUnitScope inScope, AudioUnitElement inElement, AudioUnitParameterValue *outValue);

Parameters

inUnit

The audio unit that you want to get a parameter value from.

inID

The identifier for the parameter.

inScope

The audio unit scope for the parameter.

inElement

The audio unit element for the parameter.

outValue

On success, contains the current value for the specified audio unit parameter.

Return Value

A result code.

See Also

Using Audio Unit Parameters

AudioUnitSetParameter

Sets the value of an audio unit parameter.

AudioUnitScheduleParameters

Schedules changes to the value of an audio unit parameter.