Changeset 92206 in vbox
- Timestamp:
- Nov 4, 2021 8:10:15 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 148037
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r92196 r92206 333 333 RTListForEachSafe(&pThis->lstTestsRec, pTst, pTstNext, VALKITTESTDATA, Node) 334 334 { 335 if (pTst->enmState != VALKITTESTSTATE_DONE) 336 LogRel(("ValKit: \tWarning: Test #%RU32 (recording) not done yet (state is '%s')\n", 337 pTst->idxTest, drvHostValKitTestStatusToStr(pTst->enmState))); 338 335 339 size_t const cbOutstanding = pTst->t.TestTone.u.Rec.cbToWrite - pTst->t.TestTone.u.Rec.cbWritten; 336 340 if (cbOutstanding) 337 LogRel(("ValKit: \t Recording test #%RU32 has %RU64 bytes (%RU32ms) outstanding (%RU8%% left)\n",341 LogRel(("ValKit: \tWarning: Recording test #%RU32 has %RU64 bytes (%RU32ms) outstanding (%RU8%% left)\n", 338 342 pTst->idxTest, cbOutstanding, PDMAudioPropsBytesToMilli(&pTst->t.TestTone.Parms.Props, (uint32_t)cbOutstanding), 339 343 100 - (pTst->t.TestTone.u.Rec.cbWritten * 100) / RT_MAX(pTst->t.TestTone.u.Rec.cbToWrite, 1))); … … 346 350 RTListForEachSafe(&pThis->lstTestsPlay, pTst, pTstNext, VALKITTESTDATA, Node) 347 351 { 352 if (pTst->enmState != VALKITTESTSTATE_DONE) 353 LogRel(("ValKit: \tWarning: Test #%RU32 (playback) not done yet (state is '%s')\n", 354 pTst->idxTest, drvHostValKitTestStatusToStr(pTst->enmState))); 355 348 356 size_t const cbOutstanding = pTst->t.TestTone.u.Play.cbToRead - pTst->t.TestTone.u.Play.cbRead; 349 357 if (cbOutstanding) 350 LogRel(("ValKit: \t Playback test #%RU32 has %RU64 bytes (%RU32ms) outstanding (%RU8%% left)\n",358 LogRel(("ValKit: \tWarning: Playback test #%RU32 has %RU64 bytes (%RU32ms) outstanding (%RU8%% left)\n", 351 359 pTst->idxTest, cbOutstanding, PDMAudioPropsBytesToMilli(&pTst->t.TestTone.Parms.Props, (uint32_t)cbOutstanding), 352 360 100 - (pTst->t.TestTone.u.Play.cbRead * 100) / RT_MAX(pTst->t.TestTone.u.Play.cbToRead, 1))); … … 431 439 LogRel(("ValKit: %RU32 tests still registered total (%RU32 play, %RU32 record)\n", 432 440 pThis->cTestsTotal, pThis->cTestsPlay, pThis->cTestsRec)); 433 434 PVALKITTESTDATA pTst;435 RTListForEach(&pThis->lstTestsRec, pTst, VALKITTESTDATA, Node)436 {437 if (pTst->enmState != VALKITTESTSTATE_DONE)438 LogRel(("ValKit: Warning: Test #%RU32 not done yet (state is '%s')\n",439 pTst->idxTest, drvHostValKitTestStatusToStr(pTst->enmState)));440 }441 441 442 442 if ( AudioTestSetIsRunning(pSet)
Note:
See TracChangeset
for help on using the changeset viewer.