RTS API Documentation  1.10.11
Data Structures | Functions
switch_vad.c File Reference
#include <switch.h>
+ Include dependency graph for switch_vad.c:

Go to the source code of this file.

Data Structures

struct  switch_vad_s
 

Functions

const char * switch_vad_state2str (switch_vad_state_t state)
 
switch_vad_tswitch_vad_init (int sample_rate, int channels)
 
int switch_vad_set_mode (switch_vad_t *vad, int mode)
 
void switch_vad_set_param (switch_vad_t *vad, const char *key, int val)
 
void switch_vad_reset (switch_vad_t *vad)
 
switch_vad_state_t switch_vad_process (switch_vad_t *vad, int16_t *data, unsigned int samples)
 
switch_vad_state_t switch_vad_get_state (switch_vad_t *vad)
 
void switch_vad_destroy (switch_vad_t **vad)