Changeset 5285 for trunk/src/dsound/OS2PrimBuff.cpp
- Timestamp:
- Mar 6, 2001, 9:11:17 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dsound/OS2PrimBuff.cpp
r3925 r5285 1 /* $Id: OS2PrimBuff.cpp,v 1. 4 2000-08-02 15:48:26 birdExp $ */1 /* $Id: OS2PrimBuff.cpp,v 1.5 2001-03-06 20:11:16 mike Exp $ */ 2 2 /* 3 3 * DirectSound Primary Buffer … … 54 54 OS2PrimBuff::OS2PrimBuff(OS2IDirectSound *DSound, const DSBUFFERDESC *lpDSBufferDesc ) 55 55 { 56 LONG rc;57 58 56 lpVtbl = &Vtbl; 59 57 Vtbl.AddRef = PrimBufAddRef; … … 224 222 OS2PrimBuff *me = (OS2PrimBuff *)This; 225 223 LONG lDartPos; 226 LONG lBytesPerSec;227 224 228 225 dprintf(("DSOUND-PrimBuff: GetCurrentPosition")); … … 266 263 } 267 264 268 copysize = min(dwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));265 copysize = MIN(dwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX))); 269 266 memcpy(lpfxFormat, me->lpfxFormat, copysize); 270 267
Note:
See TracChangeset
for help on using the changeset viewer.