Ignore:
Timestamp:
Jan 28, 2020 6:58:45 AM (4 years ago)
Author:
ming
Message:

Closed #2143: Add AEC info to call info & statistics dump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sound_port.c

    r5140 r6140  
    715715 
    716716/* 
     717 * Get echo canceller statistics. 
     718 */ 
     719PJ_DEF(pj_status_t) pjmedia_snd_port_get_ec_stat( pjmedia_snd_port *snd_port, 
     720                                                  pjmedia_echo_stat *p_stat) 
     721{ 
     722    PJ_ASSERT_RETURN(snd_port && p_stat, PJ_EINVAL); 
     723 
     724    if (snd_port->ec_state) { 
     725        return pjmedia_echo_get_stat(snd_port->ec_state, p_stat); 
     726    } else { 
     727        return PJ_ENOTFOUND; 
     728    } 
     729} 
     730 
     731                                                   
     732/* 
    717733 * Get clock source. 
    718734 */ 
Note: See TracChangeset for help on using the changeset viewer.