Changeset 864 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Dec 26, 2006 2:27:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r863 r864 674 674 675 675 676 /* 677 * Adjust the signal level to be transmitted from the bridge to the 678 * specified port by making it louder or quieter. 679 */ 680 PJ_DEF(pj_status_t) pjsua_conf_adjust_tx_level(pjsua_conf_port_id slot, 681 float level) 682 { 683 return pjmedia_conf_adjust_tx_level(pjsua_var.mconf, slot, 684 (int)((level-1) * 128)); 685 } 686 687 /* 688 * Adjust the signal level to be received from the specified port (to 689 * the bridge) by making it louder or quieter. 690 */ 691 PJ_DEF(pj_status_t) pjsua_conf_adjust_rx_level(pjsua_conf_port_id slot, 692 float level) 693 { 694 return pjmedia_conf_adjust_rx_level(pjsua_var.mconf, slot, 695 (int)((level-1) * 128)); 696 } 697 698 699 /* 700 * Get last signal level transmitted to or received from the specified port. 701 */ 702 PJ_DEF(pj_status_t) pjsua_conf_get_signal_level(pjsua_conf_port_id slot, 703 unsigned *tx_level, 704 unsigned *rx_level) 705 { 706 return pjmedia_conf_get_signal_level(pjsua_var.mconf, slot, 707 tx_level, rx_level); 708 } 709 676 710 /***************************************************************************** 677 711 * File player. … … 1009 1043 { 1010 1044 pjmedia_port *conf_port; 1011 const pjmedia_snd_dev_info * cap_info, *play_info;1045 const pjmedia_snd_dev_info *play_info; 1012 1046 unsigned clock_rates[] = { 0, 22050, 44100, 48000, 11025, 32000, 8000}; 1013 1047 unsigned selected_clock_rate = 0;
Note: See TracChangeset
for help on using the changeset viewer.