Changeset 459 for pjproject/trunk
- Timestamp:
- May 20, 2006 9:55:07 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r457 r459 228 228 229 229 230 /* Create and init vad. */231 status = pjmedia_silence_det_create( pool,232 port->info.clock_rate,233 port->info.samples_per_frame,234 &conf_port->vad);235 if (status != PJ_SUCCESS)236 return status;237 238 pjmedia_silence_det_set_fixed(conf_port->vad, 2);239 240 230 /* Save some port's infos, for convenience. */ 241 231 if (port) { … … 248 238 conf_port->samples_per_frame = conf->samples_per_frame; 249 239 } 240 241 /* Create and init vad. */ 242 status = pjmedia_silence_det_create( pool, 243 conf_port->clock_rate, 244 conf_port->samples_per_frame, 245 &conf_port->vad); 246 if (status != PJ_SUCCESS) 247 return status; 248 249 /* Set fixed */ 250 pjmedia_silence_det_set_fixed(conf_port->vad, 2); 251 250 252 251 253 /* If port's clock rate is different than conference's clock rate,
Note: See TracChangeset
for help on using the changeset viewer.