Ignore:
Timestamp:
May 2, 2007 6:54:19 PM (17 years ago)
Author:
bennylp
Message:

Errno and memory size tweaking for Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config_site_sample.h

    r1242 r1244  
    2727#endif 
    2828 
     29 
    2930/* 
    3031 * Typical configuration for Symbian OS target 
     
    3233#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 
    3334 
     35    /* We don't want to use float, for now */ 
    3436#   undef PJ_HAS_FLOATING_POINT 
    3537#   define PJ_HAS_FLOATING_POINT        0 
    3638 
    3739#   define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_NULL_SOUND 
     40 
     41    /* Disable these */ 
    3842#   define PJMEDIA_HAS_LIBRESAMPLE      0 
    3943#   define PJMEDIA_HAS_SPEEX_AEC        0 
    4044 
     45    /* Disable all codecs but G.711, for now */ 
    4146#   define PJMEDIA_HAS_L16_CODEC        0 
    4247#   define PJMEDIA_HAS_GSM_CODEC        0 
     
    4449#   define PJMEDIA_HAS_SPEEX_CODEC      0 
    4550 
     51#   define PJSIP_MAX_PKT_LEN            8000 
     52 
     53    /* Since we don't have threads, log buffer can use static buffer */ 
     54#   define PJ_LOG_USE_STACK_BUFFER      0 
     55 
     56    /* Symbian has problem with too many large blocks */ 
     57#   define PJSIP_POOL_LEN_ENDPT         1000 
     58#   define PJSIP_POOL_INC_ENDPT         1000 
     59#   define PJSIP_POOL_RDATA_LEN         2000 
     60#   define PJSIP_POOL_RDATA_INC         2000 
     61#   define PJSIP_POOL_LEN_TDATA         2000 
     62#   define PJSIP_POOL_INC_TDATA         512 
     63#   define PJSIP_POOL_LEN_UA            2000 
     64#   define PJSIP_POOL_INC_UA            1000 
     65#   define PJSIP_POOL_TSX_LAYER_LEN     256 
     66#   define PJSIP_POOL_TSX_LAYER_INC     256 
     67#   define PJSIP_POOL_TSX_LEN           512 
     68#   define PJSIP_POOL_TSX_INC           128 
    4669#endif 
    4770 
Note: See TracChangeset for help on using the changeset viewer.