VirtualBox

Changeset 91208 in vbox


Ignore:
Timestamp:
Sep 10, 2021 3:59:29 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

File:
1 edited

Legend:

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

    r91206 r91208  
    471471    if (RT_SUCCESS(rc))
    472472    {
    473         LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes)\n",
    474                 pThis->idxTest, pTestData->t.TestTone.Parms.msDuration, pTestData->t.TestTone.u.Rec.cbToWrite));
     473        LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes, host test #%RU32)\n",
     474                pThis->idxTest, pTestData->t.TestTone.Parms.msDuration, pTestData->t.TestTone.u.Rec.cbToWrite,
     475                pToneParms->Hdr.idxSeq));
    475476
    476477        RTListAppend(&pThis->lstTestsRec, &pTestData->Node);
     
    511512    if (RT_SUCCESS(rc))
    512513    {
    513         LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes)\n",
    514                 pThis->idxTest, pTestData->t.TestTone.Parms.msDuration, pTestData->t.TestTone.u.Play.cbToRead));
     514        LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes, host test #%RU32)\n",
     515                pThis->idxTest, pTestData->t.TestTone.Parms.msDuration, pTestData->t.TestTone.u.Play.cbToRead,
     516                pToneParms->Hdr.idxSeq));
    515517
    516518        RTListAppend(&pThis->lstTestsPlay, &pTestData->Node);
     
    807809        {
    808810            pTst->msStartedTS = RTTimeMilliTS();
    809             LogRel(("ValKit: Injecting audio input data (%RU16Hz, %RU32ms, %RU32 bytes) for test #%RU32 started (delay is %RU32ms)\n",
    810                     (uint16_t)pTst->t.TestTone.Tone.rdFreqHz,
     811            LogRel(("ValKit: Test #%RU32: Injecting audio input data (%RU16Hz, %RU32ms, %RU32 bytes) for host test #%RU32 started (delay is %RU32ms)\n",
     812                    pTst->idxTest, (uint16_t)pTst->t.TestTone.Tone.rdFreqHz,
    811813                    pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Rec.cbToWrite,
    812814                    Parms.TestTone.Hdr.idxSeq, RTTimeMilliTS() - pTst->msRegisteredTS));
     
    821823    }
    822824
    823     LogRel(("ValKit: Test #%RU32: Reporting %RU32 bytes as available\n",
    824             pTst ? pTst->idxTest : 9999, pStrmValKit->cbAvail));
    825825    return pStrmValKit->cbAvail;
    826826}
     
    956956        {
    957957            pTst->msStartedTS = RTTimeMilliTS();
    958             LogRel(("ValKit: Test #%RU32: Recording audio data (%RU16Hz, %RU32ms) for test #%RU32 started (delay is %RU32ms)\n",
     958            LogRel(("ValKit: Test #%RU32: Recording audio data (%RU16Hz, %RU32ms) for host test #%RU32 started (delay is %RU32ms)\n",
    959959                    pTst->idxTest, (uint16_t)Parms.TestTone.dbFreqHz, Parms.TestTone.msDuration,
    960960                    Parms.TestTone.Hdr.idxSeq, RTTimeMilliTS() - pTst->msRegisteredTS));
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