Changeset 55109 in vbox for trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
- Timestamp:
- Apr 7, 2015 9:18:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r54955 r55109 34 34 35 35 #define DSLOG(a) do { LogRel2(a); } while(0) 36 #define DSLOGF(a) do { LogRel3(a); } while(0) 36 37 #define DSLOGREL(a) \ 37 38 do { \ … … 1184 1185 pDSoundStrmOut->cbPlayWritePos = (cbPlayWritePos + (cReadTotal << cShift)) % cbBuffer; 1185 1186 1186 LogFlow(("DSound: PlayOut %RU32 (%RU32 samples) out of %d%s, ds write pos %d -> %d, rc=%Rrc\n",1187 1188 1189 1187 DSLOGF(("DSound: PlayOut %RU32 (%RU32 samples) out of %d%s, ds write pos %d -> %d, rc=%Rrc\n", 1188 AUDIOMIXBUF_S2B(&pHstStrmOut->MixBuf, cReadTotal), cReadTotal, cbLive, 1189 cbLive != AUDIOMIXBUF_S2B(&pHstStrmOut->MixBuf, cReadTotal) ? " !!!": "", 1190 cbPlayWritePos, pDSoundStrmOut->cbPlayWritePos, rc)); 1190 1191 1191 1192 if (cReadTotal) … … 1363 1364 } 1364 1365 1365 LogFlow(("DSound: CaptureIn csMixFree = %u, csReadPos = %d, csCaptureReadPos = %d, csCaptured = %u\n",1366 1366 DSLOGF(("DSound: CaptureIn csMixFree = %u, csReadPos = %d, csCaptureReadPos = %d, csCaptured = %u\n", 1367 csMixFree, csReadPos, pDSoundStrmIn->csCaptureReadPos, csCaptured)); 1367 1368 1368 1369 /* No need to fetch more samples than mix buffer can receive. */ … … 1420 1421 { 1421 1422 pDSoundStrmIn->csCaptureReadPos = (pDSoundStrmIn->csCaptureReadPos + csProcessed) % pDSoundStrmIn->csCaptureBufferSize; 1422 LogFlow(("DSound: CaptureIn %d (%d+%d), processed %d/%d\n",1423 1423 DSLOGF(("DSound: CaptureIn %d (%d+%d), processed %d/%d\n", 1424 csCaptured, len1, len2, csProcessed, csWrittenTotal)); 1424 1425 } 1425 1426
Note:
See TracChangeset
for help on using the changeset viewer.