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

Slightly modified for building with Watcom.

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 bird Exp $ */
     1/* $Id: OS2PrimBuff.cpp,v 1.5 2001-03-06 20:11:16 mike Exp $ */
    22/*
    33 *  DirectSound Primary Buffer
     
    5454OS2PrimBuff::OS2PrimBuff(OS2IDirectSound *DSound, const DSBUFFERDESC *lpDSBufferDesc )
    5555{
    56    LONG rc;
    57 
    5856   lpVtbl = &Vtbl;
    5957   Vtbl.AddRef               = PrimBufAddRef;
     
    224222   OS2PrimBuff *me = (OS2PrimBuff *)This;
    225223   LONG lDartPos;
    226    LONG lBytesPerSec;
    227224
    228225   dprintf(("DSOUND-PrimBuff: GetCurrentPosition"));
     
    266263   }
    267264
    268    copysize = min(dwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));
     265   copysize = MIN(dwSizeAllocated, (me->lpfxFormat->cbSize + sizeof(WAVEFORMATEX)));
    269266   memcpy(lpfxFormat, me->lpfxFormat, copysize);
    270267
Note: See TracChangeset for help on using the changeset viewer.