Changeset 1692 for pjproject/trunk
- Timestamp:
- Jan 14, 2008 6:35:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r1691 r1692 1413 1413 cport->last_mix_adj = cport->mix_adj; 1414 1414 1415 adj_level = cport->tx_adj_level * cport->mix_adj / NORMAL_LEVEL; 1415 /* adj_level = cport->tx_adj_level * cport->mix_adj / NORMAL_LEVEL;*/ 1416 adj_level = cport->tx_adj_level * cport->mix_adj; 1417 adj_level >>= 7; 1418 1416 1419 tx_level = 0; 1417 1420 … … 1677 1680 itemp = p_in[j]; 1678 1681 /*itemp = itemp * adj / NORMAL_LEVEL;*/ 1679 itemp = (itemp * conf_port->rx_adj_level) >> 7; 1682 /* bad code (signed/unsigned badness): 1683 * itemp = (itemp * conf_port->rx_adj_level) >> 7; 1684 */ 1685 itemp *= conf_port->rx_adj_level; 1686 itemp >>= 7; 1680 1687 1681 1688 /* Clip the signal if it's too loud */
Note: See TracChangeset
for help on using the changeset viewer.