Ignore:
Timestamp:
Aug 4, 2006 6:27:19 PM (18 years ago)
Author:
bennylp
Message:

More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound? buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.

File:
1 edited

Legend:

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

    r646 r648  
    4646PJ_DEF(pj_status_t) pjmedia_aec_port_create( pj_pool_t *pool, 
    4747                                             pjmedia_port *dn_port, 
    48                                              unsigned tail_length, 
     48                                             unsigned tail_ms, 
    4949                                             pjmedia_port **p_port ) 
    5050{ 
     
    5454 
    5555    PJ_ASSERT_RETURN(pool && dn_port && p_port, PJ_EINVAL); 
    56     PJ_ASSERT_RETURN(dn_port->info.bits_per_sample==16 && tail_length,  
     56    PJ_ASSERT_RETURN(dn_port->info.bits_per_sample==16 && tail_ms,  
    5757                     PJ_EINVAL); 
    5858 
     
    6868    status = pjmedia_aec_create(pool, dn_port->info.clock_rate,  
    6969                                dn_port->info.samples_per_frame, 
    70                                 tail_length, 0, &aec->aec); 
     70                                tail_ms, 0, &aec->aec); 
    7171    if (status != PJ_SUCCESS) 
    7272        return status; 
Note: See TracChangeset for help on using the changeset viewer.