Changeset 655 for pjproject/trunk/pjmedia/include/pjmedia/silencedet.h
- Timestamp:
- Aug 6, 2006 2:15:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/silencedet.h
r518 r655 71 71 unsigned samples_per_frame, 72 72 pjmedia_silence_det **p_sd ); 73 74 75 /** 76 * Set silence detector name to identify the particular silence detector 77 * instance in the log. 78 * 79 * @param sd The silence detector. 80 * @param name Name. 81 * 82 * @return PJ_SUCCESS on success. 83 */ 84 PJ_DECL(pj_status_t) pjmedia_silence_det_set_name(pjmedia_silence_det *sd, 85 const char *name); 73 86 74 87 … … 110 123 * signal is reported. If -1 is specified, then 111 124 * the default value will be used. The default is 112 * one frame.125 * equal to one frame. 113 126 * @param recalc_time The interval to recalculate signal and silence 114 127 * proportion and to readjust the silence threshold … … 145 158 * of the input samples. 146 159 * 147 * @return PJ_SUCCESS on success.160 * @return Non zero if signal is silence. 148 161 */ 149 162 PJ_DECL(pj_bool_t) pjmedia_silence_det_detect( pjmedia_silence_det *sd, … … 174 187 * @param level Signal level. 175 188 * 176 * @return PJ_SUCCESS on success.189 * @return Non zero if signal is silence. 177 190 */ 178 191 PJ_DECL(pj_bool_t) pjmedia_silence_det_apply( pjmedia_silence_det *sd,
Note: See TracChangeset
for help on using the changeset viewer.