Ignore:
Timestamp:
Nov 23, 2006 7:32:13 AM (18 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/pjsip-apps/src/samples/aectest.c

    r815 r822  
    3636#define THIS_FILE   "playfile.c" 
    3737#define PTIME       20 
     38#define TAIL_LENGTH 800 
    3839 
    3940static const char *desc =  
     
    175176 
    176177    /* Customize AEC */ 
    177     pjmedia_snd_port_set_aec(snd, pool, 800); 
     178    pjmedia_snd_port_set_ec(snd, pool, TAIL_LENGTH, 0); 
    178179 
    179180    /* Connect sound to the port */ 
Note: See TracChangeset for help on using the changeset viewer.