Changeset 90898 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Aug 26, 2021 7:23:14 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
r90887 r90898 276 276 pToneParms->dbFreqHz = AudioTestToneGetRandomFreq(); 277 277 pToneParms->msPrequel = 0; /** @todo Implement analyzing this first! */ 278 #ifdef DEBUG _andy278 #ifdef DEBUG 279 279 pToneParms->msDuration = RTRandU32Ex(50, 2500); 280 280 #else … … 381 381 pToneParms->msPrequel = 0; /** @todo Implement analyzing this first! */ 382 382 pToneParms->Props = pTstParmsAcq->Props; 383 #ifdef DEBUG _andy383 #ifdef DEBUG 384 384 pToneParms->msDuration = RTRandU32Ex(50 /* ms */, 2500); 385 385 #else … … 411 411 * 1. Arm the (host) ValKit ATS with the playback parameters. 412 412 */ 413 RTTestPrintf(g_hTest, RTTESTLVL_DEBUG, "Telling ValKit audio driver on host to inject recording data ...\n"); 413 414 rc = AudioTestSvcClientTonePlay(&pTstEnv->u.Host.AtsClValKit, &pTstParms->TestTone); 414 415 if (RT_SUCCESS(rc)) … … 417 418 * 2. Tell the guest ATS to start recording. 418 419 */ 420 RTTestPrintf(g_hTest, RTTESTLVL_DEBUG, "Telling guest VKAT to record audio ...\n"); 419 421 rc = AudioTestSvcClientToneRecord(&pTstEnv->u.Host.AtsClGuest, &pTstParms->TestTone); 420 422 if (RT_FAILURE(rc)) -
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r90892 r90898 512 512 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 513 513 514 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, " Beginning test set '%s' in '%s'\n", pszTag, pTstEnv->szPathTemp);514 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for beginning test set '%s' in '%s'\n", pszTag, pTstEnv->szPathTemp); 515 515 516 516 return AudioTestSetCreate(&pTstEnv->Set, pTstEnv->szPathTemp, pszTag); … … 526 526 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 527 527 528 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, " Ending test set '%s'\n", pszTag);528 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for ending test set '%s'\n", pszTag); 529 529 530 530 /* Pack up everything to be ready for transmission. */ … … 540 540 PATSCALLBACKCTX pCtx = (PATSCALLBACKCTX)pvUser; 541 541 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 542 543 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for playing test tone (%RU16Hz, %RU32ms) ...\n", 544 (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration); 542 545 543 546 const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */ … … 582 585 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 583 586 587 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for recording test tone (%RU32ms) ...\n", pToneParms->msDuration); 588 584 589 const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */ 585 590
Note:
See TracChangeset
for help on using the changeset viewer.