Changeset 467 for pjproject


Ignore:
Timestamp:
May 21, 2006 10:53:56 PM (19 years ago)
Author:
bennylp
Message:

Changed DirectSound? not to be too aggressive when capturing frames

File:
1 edited

Legend:

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

    r466 r467  
    567567                dsound_strm->timestamp.u64 += strm->samples_per_frame; 
    568568 
    569             } while (dsound_captured_size(dsound_strm) >= bytes_per_frame); 
     569                /* Fetch while we have more than 1 frame */ 
     570            } while (dsound_captured_size(dsound_strm) > bytes_per_frame); 
    570571        } 
    571572    } 
Note: See TracChangeset for help on using the changeset viewer.