VirtualBox

Ignore:
Timestamp:
Aug 26, 2021 7:23:14 AM (3 years ago)
Author:
vboxsync
Message:

Audio/VKAT: More logging. bugref:10008

Location:
trunk/src/VBox/ValidationKit/utils/audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r90887 r90898  
    276276    pToneParms->dbFreqHz       = AudioTestToneGetRandomFreq();
    277277    pToneParms->msPrequel      = 0; /** @todo Implement analyzing this first! */
    278 #ifdef DEBUG_andy
     278#ifdef DEBUG
    279279    pToneParms->msDuration     = RTRandU32Ex(50, 2500);
    280280#else
     
    381381    pToneParms->msPrequel      = 0; /** @todo Implement analyzing this first! */
    382382    pToneParms->Props          = pTstParmsAcq->Props;
    383 #ifdef DEBUG_andy
     383#ifdef DEBUG
    384384    pToneParms->msDuration     = RTRandU32Ex(50 /* ms */, 2500);
    385385#else
     
    411411         * 1. Arm the (host) ValKit ATS with the playback parameters.
    412412         */
     413        RTTestPrintf(g_hTest, RTTESTLVL_DEBUG, "Telling ValKit audio driver on host to inject recording data ...\n");
    413414        rc = AudioTestSvcClientTonePlay(&pTstEnv->u.Host.AtsClValKit, &pTstParms->TestTone);
    414415        if (RT_SUCCESS(rc))
     
    417418             * 2. Tell the guest ATS to start recording.
    418419             */
     420            RTTestPrintf(g_hTest, RTTESTLVL_DEBUG, "Telling guest VKAT to record audio ...\n");
    419421            rc = AudioTestSvcClientToneRecord(&pTstEnv->u.Host.AtsClGuest, &pTstParms->TestTone);
    420422            if (RT_FAILURE(rc))
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp

    r90892 r90898  
    512512    PAUDIOTESTENV   pTstEnv = pCtx->pTstEnv;
    513513
    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);
    515515
    516516    return AudioTestSetCreate(&pTstEnv->Set, pTstEnv->szPathTemp, pszTag);
     
    526526    PAUDIOTESTENV   pTstEnv = pCtx->pTstEnv;
    527527
    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);
    529529
    530530    /* Pack up everything to be ready for transmission. */
     
    540540    PATSCALLBACKCTX pCtx    = (PATSCALLBACKCTX)pvUser;
    541541    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);
    542545
    543546    const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */
     
    582585    PAUDIOTESTENV   pTstEnv = pCtx->pTstEnv;
    583586
     587    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Got request for recording test tone (%RU32ms) ...\n", pToneParms->msDuration);
     588
    584589    const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */
    585590
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette