Skip to main content

odin_pipeline_set_vad_config

enum OdinError odin_pipeline_set_vad_config(const struct OdinPipeline *pipeline,
uint32_t effect_id,
const struct OdinVadConfig *config);

Overview

Updates the configuration settings of the VAD effect identified by effect_id in the specified audio pipeline.

Parameters

NameTypeDescription
pipelineconst struct OdinPipeline *The pipeline handle.
effect_iduint32_tThe unique ID of the effect.
configconst struct OdinVadConfig *Pointer to the new configuration.

Return Value

TypeDescription
OdinErrorODIN_ERROR_SUCCESS on success.