Changeset 160 for sbliveos2/trunk/drv16


Ignore:
Timestamp:
Mar 20, 2001, 8:20:53 PM (24 years ago)
Author:
sandervl
Message:

pause fix

Location:
sbliveos2/trunk/drv16
Files:
2 edited

Legend:

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

    r153 r160  
    362362        else    Processed = _ulBytesProcessed;
    363363   }
    364    else Processed = 0;
     364   else Processed = _ulBytesProcessed;
    365365
    366366   // if we haven't processed anything then just return
     
    374374   MilliSeconds += (Seconds * 1000);
    375375   return(MilliSeconds + _ulTimeBase);
    376 
    377 }
     376}
     377
    378378//
    379379// SetCurrentTime
     
    478478   dprintf(("WAVESTREAM::PauseStream %lx", ulStreamId));
    479479   _vRealignPausedBuffers(endpos);
     480
     481   _ulBytesProcessed = endpos;
    480482   pControl->ulTime = GetCurrentTime();
    481483   _ulTimeBase = GetCurrentTime();
  • sbliveos2/trunk/drv16/wavestrm.hpp

    r152 r160  
    5555
    5656private:
     57
    5758   ULONG   _ulAudioBufSz;         // size of the audio buffer
    5859   WaveConfigInfo _configinfo;    // configuration info shared with the hardware
Note: See TracChangeset for help on using the changeset viewer.