Changeset 826 for pjproject/trunk


Ignore:
Timestamp:
Nov 24, 2006 9:31:22 AM (18 years ago)
Author:
bennylp
Message:

Updated footprint script to include new stuffs such as echo canceller and tone generator

Location:
pjproject/trunk
Files:
3 edited

Legend:

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

    r774 r826  
    4141#   undef PJ_IOQUEUE_MAX_HANDLES 
    4242#   define PJ_IOQUEUE_MAX_HANDLES       16 
     43#   define PJ_IOQUEUE_HAS_SAFE_UNREG    0 
    4344#   define PJSIP_MAX_TSX_COUNT          15 
    4445#   define PJSIP_MAX_DIALOG_COUNT       15 
  • pjproject/trunk/pjsip-apps/build/get-footprint.py

    r825 r826  
    7777     
    7878    # PJMEDIA 
     79    ['HAS_PJMEDIA_EC',          'PJMEDIA accoustic echo cancellation'], 
    7980    ['HAS_PJMEDIA_SND_DEV',     'PJMEDIA sound device backend (platform specific)'], 
    8081    ['HAS_PJMEDIA_SILENCE_DET', 'PJMEDIA Adaptive silence detector'], 
     
    9091    ['HAS_PJMEDIA_JBUF',        'PJMEDIA stand-alone adaptive jitter buffer'], 
    9192    ['HAS_PJMEDIA_STREAM',      'PJMEDIA stream for remote media communication (needs RTP, RTCP, and jitter buffer)'], 
     93    ['HAS_PJMEDIA_TONEGEN',     'PJMEDIA tone generator'], 
    9294    ['HAS_PJMEDIA_UDP_TRANSPORT','PJMEDIA UDP media transport'], 
    9395    ['HAS_PJMEDIA_FILE_PLAYER', 'PJMEDIA WAV file player'], 
  • pjproject/trunk/pjsip-apps/src/samples/footprint.c

    r825 r826  
    6666#define HAS_PJMEDIA 
    6767#define HAS_PJMEDIA_SND_DEV 
     68#define HAS_PJMEDIA_EC 
    6869#define HAS_PJMEDIA_SND_PORT 
    6970#define HAS_PJMEDIA_RESAMPLE 
     
    7677#define HAS_PJMEDIA_JBUF 
    7778#define HAS_PJMEDIA_STREAM 
     79#define HAS_PJMEDIA_TONEGEN 
    7880#define HAS_PJMEDIA_UDP_TRANSPORT 
    7981#define HAS_PJMEDIA_FILE_PLAYER 
     
    395397#endif 
    396398 
     399#ifdef HAS_PJMEDIA_EC 
     400    pjmedia_echo_create(NULL, 0, 0, 0, 0, 0, NULL); 
     401    pjmedia_echo_destroy(NULL); 
     402    pjmedia_echo_playback(NULL, NULL); 
     403    pjmedia_echo_capture(NULL, NULL, 0); 
     404    pjmedia_echo_cancel(NULL, NULL, NULL, 0, NULL); 
     405#endif 
     406 
    397407#ifdef HAS_PJMEDIA_SND_DEV 
    398408    pjmedia_snd_init(NULL); 
     
    504514#endif 
    505515 
     516#ifdef HAS_PJMEDIA_TONEGEN 
     517    pjmedia_tonegen_create(NULL, 0, 0, 0, 0, 0, NULL); 
     518    pjmedia_tonegen_is_busy(NULL); 
     519    pjmedia_tonegen_stop(NULL); 
     520    pjmedia_tonegen_play(NULL, 0, NULL, 0); 
     521    pjmedia_tonegen_play_digits(NULL, 0, NULL, 0); 
     522    pjmedia_tonegen_get_digit_map(NULL, NULL); 
     523    pjmedia_tonegen_set_digit_map(NULL, NULL); 
     524#endif 
     525 
    506526#ifdef HAS_PJMEDIA_UDP_TRANSPORT 
    507527    pjmedia_transport_udp_create(NULL, NULL, 0, 0, NULL); 
Note: See TracChangeset for help on using the changeset viewer.