AudioUnitGetParameter(_:_:_:_:_:)
Gets the value of an audio unit parameter.
Declaration
func AudioUnitGetParameter(_ inUnit: AudioUnit, _ inID: AudioUnitParameterID, _ inScope: AudioUnitScope, _ inElement: AudioUnitElement, _ outValue: UnsafeMutablePointer<AudioUnitParameterValue>) -> OSStatusParameters
- 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.
Mentioned in
Return Value
A result code.