pub unsafe extern "C-unwind" fn AudioUnitGetParameter(
in_unit: *mut OpaqueAudioComponentInstance,
in_id: u32,
in_scope: u32,
in_element: u32,
out_value: NonNull<f32>,
) -> i32Expand 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.