Ignore:
Timestamp:
Dec 5, 2013 4:15:24 AM (10 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/pjsua-lib/pjsua_aud.c

    r4537 r4680  
    742742    info->slot_id = id; 
    743743    info->name = cinfo.name; 
     744    info->format = cinfo.format; 
    744745    info->clock_rate = cinfo.clock_rate; 
    745746    info->channel_count = cinfo.channel_count; 
    746747    info->samples_per_frame = cinfo.samples_per_frame; 
    747748    info->bits_per_sample = cinfo.bits_per_sample; 
     749    info->tx_level_adj = ((float)cinfo.tx_adj_level) / 128 + 1; 
     750    info->rx_level_adj = ((float)cinfo.rx_adj_level) / 128 + 1; 
    748751 
    749752    /* Build array of listeners */ 
Note: See TracChangeset for help on using the changeset viewer.