- Timestamp:
- Mar 2, 2000, 3:51:16 PM (25 years ago)
- Location:
- trunk/src/winmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/dwaveout.cpp
r2935 r2971 1 /* $Id: dwaveout.cpp,v 1.1 5 2000-02-27 20:29:46sandervl Exp $ */1 /* $Id: dwaveout.cpp,v 1.16 2000-03-02 14:51:15 sandervl Exp $ */ 2 2 3 3 /* … … 145 145 ulBufSize = DART_BUFSIZE; 146 146 147 dprintf(("waveOutOpen: samplerate %d, numChan %d bps %d, format %x", SampleRate, nChannels, BitsPerSample, pwfx->wFormatTag)); 147 148 // Setup the open structure, pass the playlist and tell MCI_OPEN to use it 148 149 memset(&AmpOpenParms,0,sizeof(AmpOpenParms)); … … 531 532 rc = mciSendCommand(DeviceId, MCI_STATUS, MCI_STATUS_ITEM|MCI_WAIT, (PVOID)&mciStatus, 0); 532 533 if((rc & 0xFFFF) == MCIERR_SUCCESS) { 533 nrbytes = (mciStatus.ulReturn * getAvgBytesPerSecond())/1000;534 nrbytes = (mciStatus.ulReturn * (getAvgBytesPerSecond()/1000)); 534 535 return nrbytes;; 535 536 } -
trunk/src/winmm/waveout.cpp
r2935 r2971 1 /* $Id: waveout.cpp,v 1.1 1 2000-02-27 20:29:47sandervl Exp $ */1 /* $Id: waveout.cpp,v 1.12 2000-03-02 14:51:16 sandervl Exp $ */ 2 2 //#undef DEBUG 3 3 /* … … 109 109 pwh->dwFlags &= ~WHDR_DONE; 110 110 111 dprintf(("waveOutWrite %x %d %x", pwh->lpData, pwh->dwBufferLength, pwh->dwFlags)); 111 112 return(dwave->write(pwh, cbwh)); 112 113 }
Note:
See TracChangeset
for help on using the changeset viewer.