pub unsafe extern "C" fn aic_processor_context_reset(
context: *const AicProcessorContext,
) -> TypeExpand description
Clears all internal state and buffers. This also resets the VAD state associated with this processor.
Call this when the audio stream is interrupted or when seeking to prevent artifacts from previous audio content.
This operates on the processor associated with the provided context handle.
The processor stays initialized to the configured settings.
§Parameters
context: Processor context instance to reset. Must not be NULL.
§Returns
AIC_ERROR_CODE_SUCCESS: State cleared successfullyAIC_ERROR_CODE_NULL_POINTER:contextis NULL
§Safety
- Real-time safe: Can be called from audio processing threads.
- Thread-safe: Can be called from any thread.