pub unsafe extern "C" fn aic_processor_context_set_parameter(
context: *const AicProcessorContext,
parameter: Type,
value: f32,
) -> TypeExpand 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 successfullyAIC_ERROR_CODE_NULL_POINTER:contextis NULLAIC_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.