Changeset 2311 for pjproject/trunk


Ignore:
Timestamp:
Sep 23, 2008 6:48:56 PM (16 years ago)
Author:
nanang
Message:

Updated delay buffer to perform shrinking only in the PUT operation.

File:
1 edited

Legend:

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

    r2116 r2311  
    238238 
    239239    /* See if we need to shrink the buffer to reduce delay */ 
    240     if (pjmedia_circ_buf_get_len(b->circ_buf) >  
     240    if (op == OP_PUT && pjmedia_circ_buf_get_len(b->circ_buf) >  
    241241        b->samples_per_frame + b->eff_cnt) 
    242242    { 
Note: See TracChangeset for help on using the changeset viewer.