Changeset 90507 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Aug 4, 2021 8:20:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r90506 r90507 303 303 */ 304 304 rc = AudioTestSvcClientTonePlay(&pTstEnv->u.Host.AtsClGuest, pToneParms); 305 } 305 if (RT_FAILURE(rc)) 306 RTTestFailed(g_hTest, "Test #%RU32/%RU16: AudioTestSvcClientTonePlay() failed with %Rrc\n", 307 pTstParms->idxCurrent, i, rc); 308 } 309 else 310 RTTestFailed(g_hTest, "Test #%RU32/%RU16: AudioTestSvcClientToneRecord() failed with %Rrc\n", 311 pTstParms->idxCurrent, i, rc); 306 312 307 313 if (RT_SUCCESS(rc)) … … 310 316 RTThreadSleep(RTRandU32Ex(2000, 5000)); 311 317 } 312 else 313 RTTestFailed(g_hTest, "Test #%RU32/%RU16: Playing tone failed\n", pTstParms->idxCurrent, i); 318 319 if (RT_FAILURE(rc)) 320 RTTestFailed(g_hTest, "Test #%RU32/%RU16: Playing test tone failed with %Rrc\n", pTstParms->idxCurrent, i, rc); 314 321 } 315 322 … … 396 403 */ 397 404 rc = AudioTestSvcClientToneRecord(&pTstEnv->u.Host.AtsClGuest, &pTstParms->TestTone); 398 } 399 400 if (RT_FAILURE(rc)) 401 RTTestFailed(g_hTest, "Test #%RU32/%RU16: Recording tone failed\n", pTstParms->idxCurrent, i); 405 if (RT_FAILURE(rc)) 406 RTTestFailed(g_hTest, "Test #%RU32/%RU16: AudioTestSvcClientToneRecord() failed with %Rrc\n", 407 pTstParms->idxCurrent, i, rc); 408 } 409 else 410 RTTestFailed(g_hTest, "Test #%RU32/%RU16: AudioTestSvcClientTonePlay() failed with %Rrc\n", 411 pTstParms->idxCurrent, i, rc); 402 412 403 413 /* Wait a bit to let the left over audio bits being processed. */ 404 414 if (pTstParms->cIterations) 405 415 RTThreadSleep(RTRandU32Ex(2000, 5000)); 416 417 if (RT_FAILURE(rc)) 418 RTTestFailed(g_hTest, "Test #%RU32/%RU16: Recording test tone failed with %Rrc\n", pTstParms->idxCurrent, i, rc); 406 419 } 407 420
Note:
See TracChangeset
for help on using the changeset viewer.