Changeset 4198 for pjproject/trunk


Ignore:
Timestamp:
Jul 5, 2012 10:25:46 AM (12 years ago)
Author:
nanang
Message:

Fix #1549: Always reset conference port mixing buffer when it has transmitter(s).

File:
1 edited

Legend:

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

    r4162 r4198  
    18111811        ++ci; 
    18121812 
    1813         /* Reset buffer (only necessary if more than one transmitter) and 
     1813        /* Reset buffer (only necessary if the port has transmitter) and 
    18141814         * reset auto adjustment level for mixed signal. 
    18151815         */ 
    18161816        conf_port->mix_adj = NORMAL_LEVEL; 
    1817         if (conf_port->transmitter_cnt > 1) { 
     1817        if (conf_port->transmitter_cnt) { 
    18181818            pj_bzero(conf_port->mix_buf, 
    18191819                     conf->samples_per_frame*sizeof(conf_port->mix_buf[0])); 
Note: See TracChangeset for help on using the changeset viewer.