VirtualBox

Changeset 91198 in vbox


Ignore:
Timestamp:
Sep 10, 2021 12:55:54 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Some more diagnostics to find out why some testbox guests refuse to play any test tones. ​bugref:10008

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp

    r91191 r91198  
    781781        {
    782782            pTst->msStartedTS = RTTimeMilliTS();
    783             LogRel(("ValKit: Injecting audio input data (%RU16Hz, %RU32ms, %RU32 bytes) started (delay is %RU32ms)\n",
     783            LogRel(("ValKit: Injecting audio input data (%RU16Hz, %RU32ms, %RU32 bytes) for test #%RU32 started (delay is %RU32ms)\n",
    784784                    (uint16_t)pTst->t.TestTone.Tone.rdFreqHz,
    785785                    pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Rec.cbToWrite,
    786                     RTTimeMilliTS() - pTst->msRegisteredTS));
     786                    Parms.TestTone.Hdr.idxSeq, RTTimeMilliTS() - pTst->msRegisteredTS));
     787
     788            char szTimeCreated[RTTIME_STR_LEN];
     789            RTTimeToString(&Parms.TestTone.Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated));
     790            LogRel(("ValKit: Test created (caller UTC): %s\n", szTimeCreated));
    787791        }
    788792
     
    921925        {
    922926            pTst->msStartedTS = RTTimeMilliTS();
    923             LogRel(("ValKit: Test #%RU32: Recording audio data (%RU16Hz, %RU32ms) started (delay is %RU32ms)\n",
     927            LogRel(("ValKit: Test #%RU32: Recording audio data (%RU16Hz, %RU32ms) for test #%RU32 started (delay is %RU32ms)\n",
    924928                    pTst->idxTest, (uint16_t)Parms.TestTone.dbFreqHz, Parms.TestTone.msDuration,
    925                     RTTimeMilliTS() - pTst->msRegisteredTS));
     929                    Parms.TestTone.Hdr.idxSeq, RTTimeMilliTS() - pTst->msRegisteredTS));
     930
     931            char szTimeCreated[RTTIME_STR_LEN];
     932            RTTimeToString(&Parms.TestTone.Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated));
     933            LogRel(("ValKit: Test created (caller UTC): %s\n", szTimeCreated));
    926934        }
    927935    }
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp

    r91194 r91198  
    606606    char szTimeCreated[RTTIME_STR_LEN];
    607607    RTTimeToString(&pToneParms->Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated));
    608     RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Created (caller UTC): %s\n", szTimeCreated);
     608    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test created (caller UTC): %s\n", szTimeCreated);
    609609
    610610    const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */
     
    654654    char szTimeCreated[RTTIME_STR_LEN];
    655655    RTTimeToString(&pToneParms->Hdr.tsCreated, szTimeCreated, sizeof(szTimeCreated));
    656     RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Created (caller UTC): %s\n", szTimeCreated);
     656    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test created (caller UTC): %s\n", szTimeCreated);
    657657
    658658    const PAUDIOTESTSTREAM pTstStream = &pTstEnv->aStreams[0]; /** @todo Make this dynamic. */
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