FS-11340 export switch_vad_state2str and update vad_test to support the latest params

FS-11340 check the status for read frame avoid crash
This commit is contained in:
Seven Du
2018-08-21 15:24:01 +08:00
committed by Mike Jerris
parent b77f8444c6
commit 710d011c85
3 changed files with 26 additions and 11 deletions
+2
View File
@@ -52,6 +52,8 @@ SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t
SWITCH_DECLARE(void) switch_vad_reset(switch_vad_t *vad);
SWITCH_DECLARE(void) switch_vad_destroy(switch_vad_t **vad);
SWITCH_DECLARE(const char *) switch_vad_state2str(switch_vad_state_t state);
SWITCH_END_EXTERN_C
#endif
/* For Emacs: