Ignore:
Timestamp:
May 15, 2011 12:54:28 PM (13 years ago)
Author:
ming
Message:

Fixed #1257: Option for using simple FIFO delay buffer in echo canceller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/include/pjmedia/delaybuf.h

    r3553 r3567  
    6565 
    6666/** 
     67 * Delay buffer options. 
     68 */ 
     69typedef enum pjmedia_delay_buf_flag 
     70{ 
     71    /** 
     72     * Use simple FIFO mechanism for the delay buffer, i.e. 
     73     * without WSOLA for expanding and shrinking audio samples. 
     74     */ 
     75    PJMEDIA_DELAY_BUF_SIMPLE_FIFO = 1 
     76 
     77} pjmedia_delay_buf_flag; 
     78 
     79/** 
    6780 * Create the delay buffer. Once the delay buffer is created, it will 
    6881 * enter learning state unless the delay argument is specified, which 
     
    8093 *                          one frame time, default maximum delay used is 
    8194 *                          400 ms. 
    82  * @param options           Option flags, must be zero for now. 
     95 * @param options           Options. If PJMEDIA_DELAY_BUF_SIMPLE_FIFO is 
     96 *                          specified, then a simple FIFO mechanism 
     97 *                          will be used instead of the adaptive 
     98 *                          implementation (which uses WSOLA to expand 
     99 *                          or shrink audio samples). 
     100 *                          See #pjmedia_delay_buf_flag for other options. 
    83101 * @param p_b               Pointer to receive the delay buffer instance. 
    84102 * 
Note: See TracChangeset for help on using the changeset viewer.