Changeset 5285 for trunk/src/dsound/OS2SNDBUFFER.CPP
- Timestamp:
- Mar 6, 2001, 9:11:17 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dsound/OS2SNDBUFFER.CPP
r3555 r5285 1 /* $Id: OS2SNDBUFFER.CPP,v 1. 8 2000-05-18 20:37:09mike Exp $ */1 /* $Id: OS2SNDBUFFER.CPP,v 1.9 2001-03-06 20:11:16 mike Exp $ */ 2 2 3 3 /* … … 77 77 // get the primary buffer from the DSound instance. 78 78 primary = DSound->primary; 79 79 80 80 // We can still to the below logic just in case!! Should not be required thow! 81 81 // If the primary SoundBuffer doesn't exist by now, we have to create it! … … 328 328 return DSERR_INVALIDPARAM; 329 329 } 330 copysize = min(ddwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));330 copysize = MIN(ddwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX))); 331 331 memcpy(lpwfxFormat, me->lpfxFormat, copysize); 332 332 … … 457 457 { 458 458 OS2IDirectSoundBuffer *me = (OS2IDirectSoundBuffer *)This; 459 460 ULONG ulBytesToPlay;461 459 462 460 dprintf(("DSOUND-OS2IDirectSoundBuffer::SoundBufPlay (buf=%X)", me));
Note:
See TracChangeset
for help on using the changeset viewer.