Skip to main content

odin_pipeline_insert_vad_effect

enum OdinError odin_pipeline_insert_vad_effect(const struct OdinPipeline *pipeline,
uint32_t index,
uint32_t *out_effect_id);

Overview

Inserts a Voice Activity Detection (VAD) effect into the audio pipeline at the specified index and returns a unique effect identifier.

Parameters

NameTypeDescription
pipelineconst struct OdinPipeline *The pipeline handle.
indexuint32_tThe index at which to insert the effect.
out_effect_iduint32_t *Pointer to receive the new effect ID.

Return Value

TypeDescription
OdinErrorODIN_ERROR_SUCCESS on success.