Ignore:
Timestamp:
Nov 9, 2009, 9:37:48 AM (16 years ago)
Author:
pasha
Message:

increase send notifications for next buffer from mmpm2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OCO/trunk/drv16/wavestrm.cpp

    r473 r474  
    181181        }
    182182        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;
    184185        while (space && qhInProcess.IsElements())
    185186        {
     
    353354    _ulBytesProcessed = ulCurBytesProcessed;
    354355
    355     if ((pahw->GetSpace(StreamId, &_configinfo, &space) != FALSE) && (space > _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize ))
    356356    switch (ulStreamType & STREAM_WRITE)
    357357    {
     
    378378                }
    379379            }
    380             if (qhInProcess.IsElements())
     380            if ((pahw->GetSpace(StreamId, &_configinfo, &space) != FALSE) && (space > _configinfo.ulBytesPerIRQ/_configinfo.ulSampleSize )
     381               && qhInProcess.IsElements())
    381382            {
    382383               AddBuffers(FALSE);
Note: See TracChangeset for help on using the changeset viewer.