Skip to main content

aic_processor_context_get_parameter

Function aic_processor_context_get_parameter 

Source
pub unsafe extern "C" fn aic_processor_context_get_parameter(
    context: *const AicProcessorContext,
    parameter: Type,
    value: *mut f32,
) -> Type
Expand description

Retrieves the current value of a parameter.

This function can be called from any thread.

This queries the processor associated with the provided context handle.

§Parameters

  • context: Processor context instance. Must not be NULL.
  • parameter: Parameter to query.
  • value: Receives the current parameter value. Must not be NULL.

§Returns

  • AIC_ERROR_CODE_SUCCESS: Parameter retrieved successfully
  • AIC_ERROR_CODE_NULL_POINTER: context or value is NULL

§Safety

  • Real-time safe: Can be called from audio processing threads.
  • Thread-safe: Can be called from any thread.