Ignore:
Timestamp:
Apr 20, 2009 2:19:11 PM (15 years ago)
Author:
bennylp
Message:

More ticket #774: added option to shift PCM input to encoder right by some value (default is 1) to make it compatible with some other app

File:
1 edited

Legend:

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

    r2563 r2620  
    238238 */ 
    239239#ifndef PJMEDIA_HAS_G7221_CODEC 
    240 #   define PJMEDIA_HAS_G7221_CODEC    0 
    241 #endif 
     240#   define PJMEDIA_HAS_G7221_CODEC              0 
     241#endif 
     242 
     243/** 
     244 * Default G.722.1 codec encoder and decoder level adjustment.  
     245 * If the value is non-zero, then PCM input samples to the encoder will  
     246 * be shifted right by this value, and similarly PCM output samples from 
     247 * the decoder will be shifted left by this value. 
     248 * 
     249 * This can be changed at run-time after initialization by calling 
     250 * #pjmedia_codec_g7221_set_pcm_shift(). 
     251 */ 
     252#ifndef PJMEDIA_G7221_DEFAULT_PCM_SHIFT 
     253#   define PJMEDIA_G7221_DEFAULT_PCM_SHIFT      1 
     254#endif 
     255 
    242256 
    243257 
Note: See TracChangeset for help on using the changeset viewer.