Ignore:
Timestamp:
Feb 11, 2015 5:10:06 AM (6 years ago)
Author:
nanang
Message:

Misc (re #1782): added compile-time settings for Speex AGC & denoiser in Speex AEC, note that both are enabled by default, as previously AGC was enabled (by pjmedia, as it seems to improve AEC performance) and denoiser was also enabled by default by Speex.

File:
1 edited

Legend:

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

    r4622 r4981  
    110110#endif 
    111111 
    112     /* Enable AGC */ 
     112    /* Enable/disable AGC & denoise */ 
    113113    { 
    114         spx_int32_t enabled = 1; 
     114        spx_int32_t enabled; 
     115 
     116        enabled = PJMEDIA_SPEEX_AEC_USE_AGC; 
    115117        speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_AGC,  
     118                             &enabled); 
     119 
     120        enabled = PJMEDIA_SPEEX_AEC_USE_DENOISE; 
     121        speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_DENOISE,  
    116122                             &enabled); 
    117123    } 
Note: See TracChangeset for help on using the changeset viewer.