Ignore:
Timestamp:
Nov 14, 1999, 11:12:15 PM (26 years ago)
Author:
hugh
Message:

Implemented fake soundcard
The Bufferpos will be advanced based on the elapsed time
since start playing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dsound/DSOUND.CPP

    r1421 r1744  
    1 /* $Id: DSOUND.CPP,v 1.5 1999-10-23 23:00:49 sandervl Exp $ */
     1/* $Id: DSOUND.CPP,v 1.6 1999-11-14 22:12:14 hugh Exp $ */
    22
    33/*
     
    3333
    3434  dprintf(("DirectSoundCreate %X %X %X\n", lpGUID, ppDS, pUnkOuter));
    35   if(newsound == NULL)  return(DSERR_OUTOFMEMORY);
     35  if(newsound == NULL)
     36    return(DSERR_OUTOFMEMORY);
    3637
    3738  rc = newsound->GetLastError();
     
    4041    delete newsound;
    4142  }
    42   else  *ppDS = (LPDIRECTSOUND)newsound;
     43  else
     44    *ppDS = (LPDIRECTSOUND)newsound;
    4345  return(rc);
    4446}
Note: See TracChangeset for help on using the changeset viewer.