Changeset 474 for OCO/trunk/drv16/wavestrm.cpp
- Timestamp:
- Nov 9, 2009, 9:37:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/drv16/wavestrm.cpp
r473 r474 181 181 } 182 182 space &= (~(_configinfo.ulSampleSize - 1)); 183 curspace = min(space, _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize * 2); 183 // curspace = min(space, _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize * 2); 184 curspace = space; 184 185 while (space && qhInProcess.IsElements()) 185 186 { … … 353 354 _ulBytesProcessed = ulCurBytesProcessed; 354 355 355 if ((pahw->GetSpace(StreamId, &_configinfo, &space) != FALSE) && (space > _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize ))356 356 switch (ulStreamType & STREAM_WRITE) 357 357 { … … 378 378 } 379 379 } 380 if (qhInProcess.IsElements()) 380 if ((pahw->GetSpace(StreamId, &_configinfo, &space) != FALSE) && (space > _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize ) 381 && qhInProcess.IsElements()) 381 382 { 382 383 AddBuffers(FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.