Ignore:
Timestamp:
May 6, 2009 3:37:47 PM (15 years ago)
Author:
nanang
Message:

Ticket #818:

  • Added libresample.mmp
  • Modified config_site_sample.h to enable resampling with small filter on Symbian platforms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config_site_sample.h

    r2506 r2676  
    134134    #define PJMEDIA_HAS_SPEEX_AEC               0 
    135135 
    136     /* Shouldn't use resampling for performance reason too. */ 
    137     #define PJMEDIA_RESAMPLE_IMP                PJMEDIA_RESAMPLE_NONE 
     136    /* Previously, resampling is disabled due to performance reason and 
     137     * this condition prevented some 'light' wideband codecs (e.g: G722.1) 
     138     * to work along with narrowband codecs. Lately, some tests showed 
     139     * that 16kHz <-> 8kHz resampling using libresample small filter was  
     140     * affordable on ARM9 222 MHz, so here we decided to enable resampling. 
     141     * Note that it is important to make sure that libresample is created 
     142     * using small filter. For example PJSUA_DEFAULT_CODEC_QUALITY must 
     143     * be set to 3 or 4 so pjsua-lib will apply small filter resampling. 
     144     */ 
     145    //#define PJMEDIA_RESAMPLE_IMP              PJMEDIA_RESAMPLE_NONE 
     146    #define PJMEDIA_RESAMPLE_IMP                PJMEDIA_RESAMPLE_LIBRESAMPLE 
    138147 
    139148    /* Use the lighter WSOLA implementation */ 
     
    173182     */ 
    174183 
    175     /* Default codec quality */ 
    176     #define PJSUA_DEFAULT_CODEC_QUALITY         5 
     184    /* Default codec quality, previously was set to 5, however it is now 
     185     * set to 4 to make sure pjsua instantiates resampler with small filter. 
     186     */ 
     187    #define PJSUA_DEFAULT_CODEC_QUALITY         4 
    177188 
    178189    /* Set maximum number of dialog/transaction/calls to minimum */ 
Note: See TracChangeset for help on using the changeset viewer.