Skip to main content

aic_processor_context_set_parameter

Function aic_processor_context_set_parameter 

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

Modifies an enhancement parameter.

All parameters can be changed during audio processing. This function can be called from any thread.

This operates on the processor associated with the provided context handle.

§Parameters

  • context: Processor context instance. Must not be NULL.
  • parameter: Parameter to modify.
  • value: New parameter value. See parameter documentation for ranges.

§Returns

  • AIC_ERROR_CODE_SUCCESS: Parameter updated successfully
  • AIC_ERROR_CODE_NULL_POINTER: context is NULL
  • AIC_ERROR_CODE_PARAMETER_OUT_OF_RANGE: Value outside valid range

§Safety

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