Ignore:
Timestamp:
Nov 4, 2009, 4:21:24 PM (16 years ago)
Author:
pasha
Message:

Rebuild buffers supply, fix DDCMD_WRITE with len=0 in WAVE chain, remove/add debug output, change DebugInt3 for debug/nondebug version, move unused code to unused directore

File:
1 edited

Legend:

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

    r33 r468  
    185185ULONG  MIDISTREAM::StartStream(void)
    186186{
    187     dprintf(("MIDISTREAM::StartStream %lx %lx", (void far *)this, StreamId));
     187//    dprintf(("MIDISTREAM::StartStream %lx %lx", (void far *)this, StreamId));
    188188   
    189189    state = S_Init;                        // Reset parser state.
     
    206206{
    207207    if(ulStreamState == STREAM_STOPPED) {
    208         dprintf(("MIDISTREAM::StopStream %lx (already stopped)", StreamId));
     208//              dprintf(("MIDISTREAM::StopStream %lx (already stopped)", StreamId));
    209209            pControl->ulTime = GetCurrentTime();
    210210            return NO_ERROR;
    211211    }
    212212
    213     dprintf(("MIDISTREAM::StopStream %lx %lx", (void far *)this, StreamId));
     213//    dprintf(("MIDISTREAM::StopStream %lx %lx", (void far *)this, StreamId));
    214214    ulStreamState = STREAM_STOPPED;
    215215    pahw->Stop(StreamId);
     
    223223ULONG  MIDISTREAM::PauseStream(PCONTROL_PARM pControl)
    224224{
    225     dprintf(("MIDISTREAM::PauseStream %lx %lx", (void far *)this, StreamId));
     225//    dprintf(("MIDISTREAM::PauseStream %lx %lx", (void far *)this, StreamId));
    226226    if (ulStreamState == STREAM_PAUSED) {   // is the stream paused?
    227227        DebugInt3();
     
    239239ULONG  MIDISTREAM::ResumeStream(void)
    240240{
    241     dprintf(("MIDISTREAM::ResumeStream %lx %lx", (void far *)this, StreamId));
     241//    dprintf(("MIDISTREAM::ResumeStream %lx %lx", (void far *)this, StreamId));
    242242    if (ulStreamState != STREAM_PAUSED) {   // is the stream paused?
    243243        DebugInt3();
     
    275275   STREAM(streamtype, filesysnum, mixerStreamId)
    276276{
    277     dprintf(("MIDISTREAM::ctor"));
     277//    dprintf(("MIDISTREAM::ctor"));
    278278
    279279    // get the pointer to the hardware object
     
    281281    if(pahw) {
    282282        if(pahw->Open(0, streamtype, filesysnum, &StreamId) == FALSE) {
    283             dprintf(("MIDISTREAM ctor: open failed!!"));
     283//            dprintf(("MIDISTREAM ctor: open failed!!"));
    284284            DebugInt3();
    285285        }
Note: See TracChangeset for help on using the changeset viewer.