Adaptive silence detector.
More...
|
pj_status_t | pjmedia_silence_det_create (pj_pool_t *pool, unsigned clock_rate, unsigned samples_per_frame, pjmedia_silence_det **p_sd) |
|
pj_status_t | pjmedia_silence_det_set_name (pjmedia_silence_det *sd, const char *name) |
|
pj_status_t | pjmedia_silence_det_set_fixed (pjmedia_silence_det *sd, int threshold) |
|
pj_status_t | pjmedia_silence_det_set_adaptive (pjmedia_silence_det *sd, int threshold) |
|
pj_status_t | pjmedia_silence_det_set_params (pjmedia_silence_det *sd, int before_silence, int recalc_time1, int recalc_time2) |
|
pj_status_t | pjmedia_silence_det_disable (pjmedia_silence_det *sd) |
|
pj_bool_t | pjmedia_silence_det_detect (pjmedia_silence_det *sd, const pj_int16_t samples[], pj_size_t count, pj_int32_t *p_level) |
|
pj_int32_t | pjmedia_calc_avg_signal (const pj_int16_t samples[], pj_size_t count) |
|
pj_bool_t | pjmedia_silence_det_apply (pjmedia_silence_det *sd, pj_uint32_t level) |
|