pub unsafe extern "C-unwind" fn AudioUnitGetParameter(
in_unit: AudioUnit,
in_id: AudioUnitParameterID,
in_scope: AudioUnitScope,
in_element: AudioUnitElement,
out_value: NonNull<AudioUnitParameterValue>,
) -> i32Available on crate features
AUComponent and AudioComponent only.Expand description
Get the value of a parameter
Get the value of a parameter as specified by its ID, scope and element.
Parameter inUnit: the audio unit
Parameter inID: the parameter ID
Parameter inScope: the scope for the parameter
Parameter inElement: the element on the scope for the parameter
Parameter outValue: Must be non-null, and upon success will contain the current value for the
specified parameter
Returns: noErr, or an audio unit error code (such as InvalidParameter)
ยงSafety
in_unitmust be a valid pointer.out_valuemust be a valid pointer.