Changeset 524 for OCO/branches/DAZ/drv16/wavestrm.cpp
- Timestamp:
- Jul 22, 2010, 8:20:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/branches/DAZ/drv16/wavestrm.cpp
r513 r524 188 188 // if this is a write stream call _vFillAudioBuf 189 189 //****************************************************************************** 190 s hort sDbgInProcess = 0;191 s hort sDbgSave;190 static short sAddBuffersInProcess = 0; 191 static short sDbgSave; 192 192 #pragma off (unreferenced) 193 193 void WAVESTREAM::AddBuffers(SHORT sFirst) … … 200 200 //dprintf(("WS:AddBuffers First=%d, SampleSize=%lx", sFirst, _configinfo.ulSampleSize)); 201 201 202 if (sDbgInProcess) { 202 if (sAddBuffersInProcess) { 203 // This routine cannot be reentered 204 // Some systems generate an extra interrupt causing this routine to be reentered 205 // so we ignore the call that causes us to be reentered 203 206 rprintf(("WS::ABS InProcess Now=%x Save=%x", sFirst, sDbgSave)); 204 207 return; 205 208 } 206 s DbgInProcess++;209 sAddBuffersInProcess++; 207 210 sDbgSave = sFirst; 208 211 … … 258 261 // } 259 262 } 260 s DbgInProcess--;263 sAddBuffersInProcess--; 261 264 } 262 265
Note:
See TracChangeset
for help on using the changeset viewer.