Changeset 91194 in vbox for trunk/src/VBox/ValidationKit/utils/audio
- Timestamp:
- Sep 10, 2021 10:11:03 AM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r91190 r91194 308 308 PAUDIOTESTTONEPARMS const pToneParms = &pTstParms->TestTone; 309 309 310 pToneParms->Hdr.idxSeq = i; 311 RTTIMESPEC NowTimeSpec; 312 RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec)); 313 310 314 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32/%RU16: Playing test tone (%RU16Hz, %RU32ms)\n", 311 315 pTstParms->idxCurrent, i, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); … … 418 422 { 419 423 PAUDIOTESTTONEPARMS const pToneParms = &pTstParms->TestTone; 424 425 pToneParms->Hdr.idxSeq = i; 426 RTTIMESPEC NowTimeSpec; 427 RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec)); 420 428 421 429 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32/%RU16: Recording test tone (%RU16Hz, %RU32ms)\n", -
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r91186 r91194 601 601 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 602 602 603 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for playing test tone (%RU16Hz, %RU32ms) ...\n", 604 (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); 603 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for playing test tone #%RU32 (%RU16Hz, %RU32ms) ...\n", 604 pToneParms->Hdr.idxSeq, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); 605 606 char szTimeCreated[RTTIME_STR_LEN]; 607 RTTimeToString(&pToneParms->Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated)); 608 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Created (caller UTC): %s\n", szTimeCreated); 605 609 606 610 const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */ … … 645 649 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 646 650 647 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for recording test tone (%RU32ms) ...\n", pToneParms->msDuration); 651 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for recording test tone #%RU32 (%RU32ms) ...\n", 652 pToneParms->Hdr.idxSeq, pToneParms->msDuration); 653 654 char szTimeCreated[RTTIME_STR_LEN]; 655 RTTimeToString(&pToneParms->Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated)); 656 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Created (caller UTC): %s\n", szTimeCreated); 648 657 649 658 const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */
Note:
See TracChangeset
for help on using the changeset viewer.