Changeset 1623 for pjproject/trunk
- Timestamp:
- Dec 9, 2007 5:34:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r1417 r1623 1270 1270 } else { 1271 1271 1272 /* Initialize frame type to None */ 1273 *type = PJMEDIA_FRAME_TYPE_NONE; 1274 1272 1275 /* 1273 1276 * If we don't have enough samples in rx_buf, read from the port … … 1297 1300 pjmedia_zero_samples( cport->rx_buf + cport->rx_buf_count, 1298 1301 cport->samples_per_frame); 1302 } else { 1303 /* We've got at least one frame */ 1304 *type = PJMEDIA_FRAME_TYPE_AUDIO; 1299 1305 } 1300 1306 … … 1719 1725 if (conf->ports[i] == NULL) 1720 1726 continue; 1727 1728 /* Ignore if we didn't get any frame */ 1729 if (frame_type != PJMEDIA_FRAME_TYPE_AUDIO) 1730 continue; 1721 1731 } 1722 1732
Note: See TracChangeset
for help on using the changeset viewer.