Changeset 468 for OCO/trunk/drv16/stream.cpp
- Timestamp:
- Nov 4, 2009, 4:21:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/drv16/stream.cpp
r418 r468 39 39 40 40 //****************************************************************************** 41 // Here we ask to mmpm - give me next buffer 41 42 //****************************************************************************** 42 43 void STREAM::ReturnBuffer(void) … … 51 52 // if this is a write (playback) then set the streamtype and 52 53 // tell the stream handler that we played all of the buffer. 53 if (ulStreamType & STREAM_WRITE) { 54 if (ulStreamType & STREAM_WRITE) 55 { 54 56 shdri.ulFlag = SHD_WRITE_COMPLETE; 55 57 shdri.ulStatus = temp->ulBuffsz; … … 171 173 ULONG STREAM::Register(PDDCMDREGISTER p) 172 174 { 175 ddprintf(("STREAM::Register")); 173 176 hstream = p->hStream; 174 177 pfnSHD = (PFN_SHD) p->pSHDEntryPoint; … … 213 216 { 214 217 218 // dprintf(("STREAM::SetNextEvent")); 215 219 // if there are no events or only one event on the 216 220 // queue just return … … 232 236 // event to time out.. if it is not already on 233 237 // the head of the Event queue then put it there 234 if (pele2 != qhEvent.Head()) { 238 if (pele2 != qhEvent.Head()) 239 { 235 240 cli(); 236 241 qhEvent.PopElement(pele2);
Note:
See TracChangeset
for help on using the changeset viewer.