Ignore:
Timestamp:
Mar 6, 2001, 9:11:17 PM (25 years ago)
Author:
mike
Message:

Slightly modified for building with Watcom.

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:09 mike Exp $ */
     1/* $Id: OS2SNDBUFFER.CPP,v 1.9 2001-03-06 20:11:16 mike Exp $ */
    22
    33/*
     
    7777   // get the primary buffer from the DSound instance.
    7878   primary = DSound->primary;
    79  
     79
    8080   // We can still to the below logic just in case!!  Should not be required thow!
    8181   // If the primary SoundBuffer doesn't exist by now, we have to create it!
     
    328328      return DSERR_INVALIDPARAM;
    329329   }
    330    copysize = min(ddwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));
     330   copysize = MIN(ddwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));
    331331   memcpy(lpwfxFormat, me->lpfxFormat, copysize);
    332332
     
    457457{
    458458   OS2IDirectSoundBuffer *me = (OS2IDirectSoundBuffer *)This;
    459 
    460    ULONG ulBytesToPlay;
    461459
    462460   dprintf(("DSOUND-OS2IDirectSoundBuffer::SoundBufPlay (buf=%X)", me));
Note: See TracChangeset for help on using the changeset viewer.