Ignore:
Timestamp:
Dec 26, 2006 2:27:14 AM (17 years ago)
Author:
bennylp
Message:

Ticket #51: Added audio level adjustment to PJSUA-API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r863 r864  
    26242624PJ_DECL(pj_status_t) pjsua_conf_disconnect(pjsua_conf_port_id source, 
    26252625                                           pjsua_conf_port_id sink); 
     2626 
     2627 
     2628/** 
     2629 * Adjust the signal level to be transmitted from the bridge to the  
     2630 * specified port by making it louder or quieter. 
     2631 * 
     2632 * @param slot          The conference bridge slot number. 
     2633 * @param level         Signal level adjustment. Value 1.0 means no level 
     2634 *                      adjustment, while value 0 means to mute the port. 
     2635 * 
     2636 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     2637 */ 
     2638PJ_DECL(pj_status_t) pjsua_conf_adjust_tx_level(pjsua_conf_port_id slot, 
     2639                                                float level); 
     2640 
     2641/** 
     2642 * Adjust the signal level to be received from the specified port (to 
     2643 * the bridge) by making it louder or quieter. 
     2644 * 
     2645 * @param slot          The conference bridge slot number. 
     2646 * @param level         Signal level adjustment. Value 1.0 means no level 
     2647 *                      adjustment, while value 0 means to mute the port. 
     2648 * 
     2649 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     2650 */ 
     2651PJ_DECL(pj_status_t) pjsua_conf_adjust_rx_level(pjsua_conf_port_id slot, 
     2652                                                float level); 
     2653 
     2654/** 
     2655 * Get last signal level transmitted to or received from the specified port. 
     2656 * The signal level is an integer value in zero to 255, with zero indicates 
     2657 * no signal, and 255 indicates the loudest signal level. 
     2658 * 
     2659 * @param slot          The conference bridge slot number. 
     2660 * @param tx_level      Optional argument to receive the level of signal 
     2661 *                      transmitted to the specified port (i.e. the direction 
     2662 *                      is from the bridge to the port). 
     2663 * @param rx_level      Optional argument to receive the level of signal 
     2664 *                      received from the port (i.e. the direction is from the 
     2665 *                      port to the bridge). 
     2666 * 
     2667 * @return              PJ_SUCCESS on success. 
     2668 */ 
     2669PJ_DECL(pj_status_t) pjsua_conf_get_signal_level(pjsua_conf_port_id slot, 
     2670                                                 unsigned *tx_level, 
     2671                                                 unsigned *rx_level); 
     2672 
     2673/** 
     2674 *  
     2675 */ 
     2676 
    26262677 
    26272678 
Note: See TracChangeset for help on using the changeset viewer.