Ignore:
Timestamp:
Jul 22, 2010, 8:20:48 PM (15 years ago)
Author:
David Azarewicz
Message:

debug statement cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OCO/branches/DAZ/drv16/wavestrm.cpp

    r513 r524  
    188188// if this is a write stream call _vFillAudioBuf
    189189//******************************************************************************
    190 short sDbgInProcess = 0;
    191 short sDbgSave;
     190static short sAddBuffersInProcess = 0;
     191static short sDbgSave;
    192192#pragma off (unreferenced)
    193193void WAVESTREAM::AddBuffers(SHORT sFirst)
     
    200200        //dprintf(("WS:AddBuffers First=%d, SampleSize=%lx", sFirst, _configinfo.ulSampleSize));
    201201
    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
    203206                rprintf(("WS::ABS InProcess Now=%x Save=%x", sFirst, sDbgSave));
    204207                return;
    205208        }
    206         sDbgInProcess++;
     209        sAddBuffersInProcess++;
    207210        sDbgSave = sFirst;
    208211
     
    258261//              }
    259262        }
    260         sDbgInProcess--;
     263        sAddBuffersInProcess--;
    261264}
    262265
Note: See TracChangeset for help on using the changeset viewer.