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/include/pjmedia/sound_port.h

    r518 r648  
    184184 
    185185/** 
     186 * Enable accoustic echo cancellation (AEC) to the specified sound.  
     187 * The AEC can only be enabled for sound streams with full-duplex direction. 
     188 * 
     189 * And note, you should only change the AEC settings when the sound port 
     190 * is not connected to any downstream ports. 
     191 * 
     192 * @param snd_port          The sound device port. 
     193 * @param pool              Pool to re-create the AEC if necessary. 
     194 * @param tail_ms           Maximum echo tail length to be supported, in 
     195 *                          miliseconds. If zero is specified, the AEC would 
     196 *                          be disabled. 
     197 * 
     198 * @return                  PJ_SUCCESS on success. 
     199 */ 
     200PJ_DECL(pj_status_t) pjmedia_snd_port_set_aec(pjmedia_snd_port *snd_port, 
     201                                              pj_pool_t *pool, 
     202                                              unsigned tail_ms); 
     203 
     204 
     205/** 
     206 * Get current AEC tail length, in miliseconds. The tail length will be zero 
     207 * if AEC is not enabled. 
     208 * 
     209 * @param snd_port          The sound device port. 
     210 * @param p_length          Pointer to receive the tail length. 
     211 * 
     212 * @return                  PJ_SUCCESS on success. 
     213 */ 
     214PJ_DECL(pj_status_t) pjmedia_snd_port_get_aec_tail(pjmedia_snd_port *snd_port, 
     215                                                   unsigned *p_length); 
     216 
     217 
     218 
     219/** 
    186220 * Connect a port to the sound device port. If the sound device port has a 
    187221 * sound recorder device, then this will start periodic function call to 
Note: See TracChangeset for help on using the changeset viewer.