Ignore:
Timestamp:
Sep 27, 2008 11:53:39 AM (14 years ago)
Author:
nanang
Message:

Fixed assertion in echo suppressor when recording and playing level is equal.

File:
1 edited

Legend:

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

    r2212 r2329  
    518518    } 
    519519    /* Bail out if local user is talking */ 
    520     if (ec->sum_rec_level > sum_play_level) { 
     520    if (ec->sum_rec_level >= sum_play_level) { 
    521521        echo_supp_set_state(ec, ST_LOCAL_TALK, ulaw); 
    522522        return; 
     
    544544 
    545545        /* Bail out if local user is talking */ 
    546         if (ec->sum_rec_level > sum_play_level) { 
     546        if (ec->sum_rec_level >= sum_play_level) { 
    547547            echo_supp_set_state(ec, ST_LOCAL_TALK, ulaw); 
    548548            return; 
Note: See TracChangeset for help on using the changeset viewer.