Ignore:
Timestamp:
Nov 9, 2009, 2:36:35 AM (16 years ago)
Author:
pasha
Message:

Fix buffers overflow problem, check Flash10, fix some strange code

File:
1 edited

Legend:

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

    r468 r473  
    715715    {
    716716        PWAVESTREAM pStream;
    717 //            dprintf(("IDC16_PROCESS. param1: %x, param2: %x",param1, param2));
    718         //Signal all active wave playback streams to update their status
     717//           dprintf(("IDC16_PROCESS"));
     718           //Signal all active wave playback streams to update their status
    719719            pStream = (PWAVESTREAM)FindFirstActiveStream(STREAM_WAVE_PLAY);
    720720            while(pStream)
     
    722722                pStream->Process();
    723723               pStream = (PWAVESTREAM)FindNextActiveStream(STREAM_WAVE_PLAY, pStream);
    724             }
    725         //Signal all active wave capture streams to update their status
    726         pStream = (PWAVESTREAM)FindFirstActiveStream(STREAM_WAVE_CAPTURE);
    727         while(pStream) {
    728                     pStream->Process();
    729                     pStream = (PWAVESTREAM)FindNextActiveStream(STREAM_WAVE_CAPTURE, pStream);
    730             }
    731             break;
     724           }
     725           //Signal all active wave capture streams to update their status
     726           pStream = (PWAVESTREAM)FindFirstActiveStream(STREAM_WAVE_CAPTURE);
     727           while(pStream)
     728           {
     729                 pStream->Process();
     730                 pStream = (PWAVESTREAM)FindNextActiveStream(STREAM_WAVE_CAPTURE, pStream);
     731           }
     732//           dprintf(("IDC16_PROCESS end"));
     733           break;
    732734    }
    733735
Note: See TracChangeset for help on using the changeset viewer.