Ignore:
Timestamp:
Dec 5, 2013 4:15:24 AM (11 years ago)
Author:
bennylp
Message:

Re #1519: added Tx/Rx? level adjustment in conf port info in pjsua-lib and pjsua2, and format in conf_port_info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/media.cpp

    r4678 r4680  
    7676    portId = port_info.slot_id; 
    7777    name = pj2Str(port_info.name); 
    78  
     78    format.fromPj(port_info.format); 
     79    txLevelAdj = port_info.tx_level_adj; 
     80    rxLevelAdj = port_info.rx_level_adj; 
     81 
     82    /* 
    7983    format.id = PJMEDIA_FORMAT_PCM; 
    8084    format.type = PJMEDIA_TYPE_AUDIO; 
     
    9094                                    port_info.channel_count * 
    9195                                    port_info.bits_per_sample; 
    92  
     96    */ 
    9397    listeners.clear(); 
    9498    for (unsigned i=0; i<port_info.listener_cnt; ++i) { 
Note: See TracChangeset for help on using the changeset viewer.