37 #ifndef FREESWITCH_VAD_H 38 #define FREESWITCH_VAD_H switch_vad_state_t switch_vad_get_state(switch_vad_t *vad)
void switch_vad_reset(switch_vad_t *vad)
#define SWITCH_END_EXTERN_C
void switch_vad_destroy(switch_vad_t **vad)
switch_byte_t switch_byte_t uint32_t switch_bitpack_mode_t mode
SWITCH_BEGIN_EXTERN_C switch_vad_t * switch_vad_init(int sample_rate, int channels)
switch_vad_state_t switch_vad_process(switch_vad_t *vad, int16_t *data, unsigned int samples)
void switch_vad_set_param(switch_vad_t *vad, const char *key, int val)
const char * switch_vad_state2str(switch_vad_state_t state)
int switch_vad_set_mode(switch_vad_t *vad, int mode)
#define SWITCH_BEGIN_EXTERN_C