Changeset 18771


Ignore:
Timestamp:
Apr 8, 2002, 1:23:10 PM (23 years ago)
Author:
sandervl
Message:

compile fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/dsound/DAudioBuffer.cpp

    r16204 r18771  
    1 /* $Id: DAudioBuffer.cpp,v 1.2 2001-04-30 21:06:37 sandervl Exp $ */
     1/* $Id: DAudioBuffer.cpp,v 1.3 2002-04-08 11:23:10 sandervl Exp $ */
    22
    33/*
     
    9191    }
    9292
    93     wmutex.enter(VMUTEX_WAIT_FOREVER);
     93    wmutex.enter();
    9494    next = dsbroot;
    9595    dsbroot = this;
     
    140140    }
    141141
    142     wmutex.enter(VMUTEX_WAIT_FOREVER);
     142    wmutex.enter();
    143143    next = dsbroot;
    144144    dsbroot = this;
     
    170170    IDirectAudioBuffer *prev = NULL;
    171171
    172     wmutex.enter(VMUTEX_WAIT_FOREVER);
     172    wmutex.enter();
    173173    if (this == dsbroot)  // is this the first DAudioBuffer?
    174174        dsbroot = next;
     
    315315
    316316    *lpdwCurrentPlayCursor  = daudio->getPosition(lpdwCurrentWriteCursor);
     317    *lpdwCurrentPlayCursor = *lpdwCurrentPlayCursor % bufferdesc.dwBufferBytes;
    317318    dprintf(("  PlayPos %d, WritePos %d", *lpdwCurrentPlayCursor, *lpdwCurrentWriteCursor));
    318319    return DS_OK;
Note: See TracChangeset for help on using the changeset viewer.