Changeset 318 for pjproject/trunk/pjmedia/src/pjmedia/conference.c
- Timestamp:
- Mar 15, 2006 7:32:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r312 r318 492 492 pj_status_t status; 493 493 494 PJ_ASSERT_RETURN(conf && pool && strm_port && port_name && p_port, 495 PJ_EINVAL); 494 PJ_ASSERT_RETURN(conf && pool && strm_port && port_name, PJ_EINVAL); 496 495 497 496 pj_mutex_lock(conf->mutex); … … 523 522 524 523 /* Done. */ 525 *p_port = index; 524 if (p_port) { 525 *p_port = index; 526 } 526 527 527 528 pj_mutex_unlock(conf->mutex); … … 1052 1053 continue; 1053 1054 } 1055 1056 /* Also skip if this port doesn't have listeners. */ 1057 if (conf_port->listener_cnt == 0) 1058 continue; 1054 1059 1055 1060 /* Get frame from this port. … … 1102 1107 } 1103 1108 1104 /* Also skip if this port doesn't have listeners. */1105 if (conf_port->listener_cnt == 0)1106 continue;1107 1108 1109 /* Get the signal level. */ 1109 1110 level = pjmedia_calc_avg_signal(output, conf->samples_per_frame);
Note: See TracChangeset
for help on using the changeset viewer.