Ignore:
Timestamp:
Apr 23, 2008 4:07:37 PM (16 years ago)
Author:
bennylp
Message:

More ticket #497: added configuration to disable WSOLA and set default to disabled on WinCE and Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r1860 r1941  
    104104#ifndef PJMEDIA_SOUND_USE_DELAYBUF 
    105105#   define PJMEDIA_SOUND_USE_DELAYBUF       0 
     106#endif 
     107 
     108 
     109/* 
     110 * Types of WSOLA backend algorithm. 
     111 */ 
     112 
     113/** 
     114 * This denotes implementation of WSOLA using null algorithm. Expansion 
     115 * will generate zero frames, and compression will just discard some 
     116 * samples from the input. 
     117 * 
     118 * This type of implementation may be used as it requires the least 
     119 * processing power. 
     120 */ 
     121#define PJMEDIA_WSOLA_IMP_NULL              0 
     122 
     123/** 
     124 * This denotes implementation of WSOLA using fixed or floating point WSOLA 
     125 * algorithm. This implementation provides the best quality of the result, 
     126 * at the expense of one frame delay and intensive processing power  
     127 * requirement. 
     128 */ 
     129#define PJMEDIA_WSOLA_IMP_WSOLA             1 
     130 
     131 
     132/** 
     133 * Specify type of Waveform based Similarity Overlap and Add (WSOLA) backend 
     134 * implementation to be used. WSOLA is an algorithm to expand and/or compress  
     135 * audio frames without changing the pitch, and used by the delaybuf and as PLC 
     136 * backend algorithm. 
     137 * 
     138 * Default is PJMEDIA_WSOLA_IMP_WSOLA 
     139 */ 
     140#ifndef PJMEDIA_WSOLA_IMP 
     141#   define PJMEDIA_WSOLA_IMP                PJMEDIA_WSOLA_IMP_WSOLA 
    106142#endif 
    107143 
Note: See TracChangeset for help on using the changeset viewer.