Ignore:
Timestamp:
Nov 23, 2006 7:32:13 AM (17 years ago)
Author:
bennylp
Message:

Worked on the AEC. Apply constant delay bufferring for the AEC,
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.

EC is now by default enabled in PJSUA.

File:
1 edited

Legend:

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

    r653 r822  
    4747                                             pjmedia_port *dn_port, 
    4848                                             unsigned tail_ms, 
     49                                             unsigned latency_ms, 
    4950                                             unsigned options, 
    5051                                             pjmedia_port **p_port ) 
     
    6970    status = pjmedia_echo_create(pool, dn_port->info.clock_rate,  
    7071                                 dn_port->info.samples_per_frame, 
    71                                  tail_ms, options, &ec->ec); 
     72                                 tail_ms, latency_ms, options, &ec->ec); 
    7273    if (status != PJ_SUCCESS) 
    7374        return status; 
Note: See TracChangeset for help on using the changeset viewer.