Ignore:
Timestamp:
Aug 6, 2006 2:15:47 PM (18 years ago)
Author:
bennylp
Message:

Change the silence suppressor to use the adaptive silence detector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r635 r655  
    222222 
    223223    /* Set name */ 
    224     pj_strdup(pool, &conf_port->name, name); 
     224    pj_strdup_with_null(pool, &conf_port->name, name); 
    225225 
    226226    /* Default has tx and rx enabled. */ 
     
    259259    pjmedia_silence_det_set_fixed(conf_port->vad, 2); 
    260260 
     261    /* Set VAD name */ 
     262    pjmedia_silence_det_set_name(conf_port->vad, conf_port->name.ptr); 
    261263 
    262264    /* If port's clock rate is different than conference's clock rate, 
     
    895897 
    896898    return PJ_SUCCESS; 
     899} 
     900 
     901 
     902/* 
     903 * Get total number of ports connections currently set up in the bridge. 
     904 */ 
     905PJ_DECL(unsigned) pjmedia_conf_get_connect_count(pjmedia_conf *conf) 
     906{ 
     907    return conf->connect_cnt; 
    897908} 
    898909 
Note: See TracChangeset for help on using the changeset viewer.