Changeset 18771
- Timestamp:
- Apr 8, 2002, 1:23:10 PM (23 years ago)
- 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:37sandervl Exp $ */1 /* $Id: DAudioBuffer.cpp,v 1.3 2002-04-08 11:23:10 sandervl Exp $ */ 2 2 3 3 /* … … 91 91 } 92 92 93 wmutex.enter( VMUTEX_WAIT_FOREVER);93 wmutex.enter(); 94 94 next = dsbroot; 95 95 dsbroot = this; … … 140 140 } 141 141 142 wmutex.enter( VMUTEX_WAIT_FOREVER);142 wmutex.enter(); 143 143 next = dsbroot; 144 144 dsbroot = this; … … 170 170 IDirectAudioBuffer *prev = NULL; 171 171 172 wmutex.enter( VMUTEX_WAIT_FOREVER);172 wmutex.enter(); 173 173 if (this == dsbroot) // is this the first DAudioBuffer? 174 174 dsbroot = next; … … 315 315 316 316 *lpdwCurrentPlayCursor = daudio->getPosition(lpdwCurrentWriteCursor); 317 *lpdwCurrentPlayCursor = *lpdwCurrentPlayCursor % bufferdesc.dwBufferBytes; 317 318 dprintf((" PlayPos %d, WritePos %d", *lpdwCurrentPlayCursor, *lpdwCurrentWriteCursor)); 318 319 return DS_OK;
Note:
See TracChangeset
for help on using the changeset viewer.