Changeset 2971 for trunk/src/winmm/dwaveout.cpp
- Timestamp:
- Mar 2, 2000, 3:51:16 PM (25 years ago)
- File:
-
- 1 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 }
Note:
See TracChangeset
for help on using the changeset viewer.