Ignore:
Timestamp:
Mar 3, 2010 2:47:35 PM (14 years ago)
Author:
nanang
Message:

Ticket #1042, minor updates related to AEC:

  • Added requirement of AEC minimal latency between reference and echo in aectest sample app.
  • Modified AEC latency in sound port to 3/4 of playback latency.
  • Few cleaned up echo_common.c: unused vars, a bit stricter latency check (to be at least as much as PTIME).
File:
1 edited

Legend:

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

    r2755 r3115  
    564564            //delay_ms = (si.rec_latency + si.play_latency) * 1000 / 
    565565            //     snd_port->clock_rate; 
    566             delay_ms = prm.output_latency_ms; 
     566            /* Set EC latency to 3/4 of output latency to reduce the 
     567             * possibility of missing/late reference frame. 
     568             */ 
     569            delay_ms = prm.output_latency_ms * 3/4; 
    567570            status = pjmedia_echo_create2(pool, snd_port->clock_rate,  
    568571                                          snd_port->channel_count, 
Note: See TracChangeset for help on using the changeset viewer.