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/g7221.h

    r2563 r2620  
    9494                                                  pj_bool_t enabled); 
    9595 
     96/** 
     97 * Set the G.722.1 codec encoder and decoder level adjustment.  
     98 * If the value is non-zero, then PCM input samples to the encoder will  
     99 * be shifted right by this value, and similarly PCM output samples from 
     100 * the decoder will be shifted left by this value. 
     101 * 
     102 * Default value is PJMEDIA_G7221_DEFAULT_PCM_SHIFT. 
     103 * 
     104 * @param val           The value 
     105 * 
     106 * @return              PJ_SUCCESS on success. 
     107 */ 
     108PJ_DECL(pj_status_t) pjmedia_codec_g7221_set_pcm_shift(int val); 
     109 
     110 
    96111 
    97112/** 
Note: See TracChangeset for help on using the changeset viewer.