Changeset 2000 for pjproject


Ignore:
Timestamp:
Jun 9, 2008 12:32:01 PM (16 years ago)
Author:
nanang
Message:

Removed codec G729 from encdec.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/encdec.c

    r1870 r2000  
    5252 "\n" 
    5353; 
    54  
    55 #ifndef HAS_G729_CODEC 
    56 # define HAS_G729_CODEC 0 
    57 #endif 
    58  
    59 #if HAS_G729_CODEC 
    60 #include <keystream_g729ab.h> 
    61 #endif 
    6254 
    6355//#undef PJ_TRACE 
     
    182174        } 
    183175         
    184         /* Simulate jitter buffer bug */ 
    185         if (pci->pt==PJMEDIA_RTP_PT_G729 && frm_bit.size == 2) { 
    186             TRACE_((THIS_FILE, "%d.%03d G729 SID frame masqueraded", T)); 
    187             frm_bit.size = 10; 
    188         } 
    189          
    190176        /* Parse the bitstream (not really necessary for this case 
    191177         * since we always decode 1 frame, but it's still good 
     
    264250    CHECK( pjmedia_codec_speex_init(mept, 0, 5, 5) ); 
    265251#endif 
    266 #if HAS_G729_CODEC 
    267     CHECK( keystream_g729ab_init(mept) ); 
    268 #endif 
    269252#if PJMEDIA_HAS_G722_CODEC 
    270253    CHECK( pjmedia_codec_g722_init(mept) ); 
Note: See TracChangeset for help on using the changeset viewer.