Ignore:
Timestamp:
Oct 14, 2011 6:41:51 AM (8 years ago)
Author:
bennylp
Message:

Support for OpenCORE AMR-NB codec on Windows. This closes #1388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/include/pjmedia-codec/config.h

    r3816 r3817  
    314314 
    315315/** 
    316  * OpenCORE AMR-NB codec is enabled by default. 
     316 * Enable OpenCORE AMR-NB codec. 
     317 * See https://trac.pjsip.org/repos/ticket/1388 for some info. 
     318 * 
     319 * Default: 0 
    317320 */ 
    318321#ifndef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 
    319322#   define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC     0 
    320323#endif 
     324 
     325/** 
     326 * Link with libopencore-amrXX via pragma comment on Visual Studio. 
     327 * This option only makes sense if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 
     328 * is enabled. 
     329 * 
     330 * Default: 1 
     331 */ 
     332#ifndef PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS 
     333#  define PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS   1 
     334#endif 
     335 
     336/** 
     337 * Link with libopencore-amrXX.a that has been produced with gcc. 
     338 * This option only makes sense if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 
     339 * and PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS are enabled. 
     340 * 
     341 * Default: 1 
     342 */ 
     343#ifndef PJMEDIA_OPENCORE_AMR_BUILT_WITH_GCC 
     344#   define PJMEDIA_OPENCORE_AMR_BUILT_WITH_GCC  1 
     345#endif 
     346 
    321347 
    322348/** 
Note: See TracChangeset for help on using the changeset viewer.