Changeset 92382 in vbox
- Timestamp:
- Nov 11, 2021 9:18:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r92347 r92382 307 307 RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec)); 308 308 309 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU 16/%RU16): Playing test tone (%RU16Hz, %RU32ms)\n",309 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU32/%RU32): Playing test tone (%RU16Hz, %RU32ms)\n", 310 310 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); 311 311 … … 326 326 rc = AudioTestSvcClientTonePlay(&pTstEnv->u.Host.AtsClGuest, pToneParms); 327 327 if (RT_FAILURE(rc)) 328 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): AudioTestSvcClientTonePlay() failed with %Rrc\n",328 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientTonePlay() failed with %Rrc\n", 329 329 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 330 330 } 331 331 else 332 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): AudioTestSvcClientToneRecord() failed with %Rrc\n",332 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientToneRecord() failed with %Rrc\n", 333 333 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 334 334 … … 344 344 if (RT_FAILURE(rc)) 345 345 { 346 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): Playing test tone failed with %Rrc\n",346 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): Playing test tone failed with %Rrc\n", 347 347 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 348 348 break; /* Not worth retrying, bail out. */ … … 406 406 RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec)); 407 407 408 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU 16/%RU16): Recording test tone (%RU16Hz, %RU32ms)\n",408 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU32/%RU32): Recording test tone (%RU16Hz, %RU32ms)\n", 409 409 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); 410 410 … … 422 422 rc = AudioTestSvcClientToneRecord(&pTstEnv->u.Host.AtsClGuest, &pTstParms->TestTone); 423 423 if (RT_FAILURE(rc)) 424 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): AudioTestSvcClientToneRecord() failed with %Rrc\n",424 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientToneRecord() failed with %Rrc\n", 425 425 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 426 426 } 427 427 else 428 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): AudioTestSvcClientTonePlay() failed with %Rrc\n",428 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientTonePlay() failed with %Rrc\n", 429 429 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 430 430 … … 438 438 if (RT_FAILURE(rc)) 439 439 { 440 RTTestFailed(g_hTest, "Test #%RU32 (%RU 16/%RU16): Recording test tone failed with %Rrc\n",440 RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): Recording test tone failed with %Rrc\n", 441 441 pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc); 442 442 break; /* Not worth retrying, bail out. */
Note:
See TracChangeset
for help on using the changeset viewer.