VirtualBox

Changeset 92438 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 15, 2021 6:54:43 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Logging nits. bugref:10008

File:
1 edited

Legend:

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

    r92396 r92438  
    516516
    517517    pTst->t.TestTone.u.Rec.cbToWrite = PDMAudioPropsMilliToBytes(pProps,
    518                                                                       pTst->t.TestTone.Parms.msDuration);
     518                                                                 pTst->t.TestTone.Parms.msDuration);
    519519
    520520    /* We inject a pre + post beacon before + after the actual test tone.
     
    525525    if (RT_SUCCESS(rc))
    526526    {
    527         LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes, host test #%RU32)\n",
     527        LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes) as test #%RU32\n",
    528528                pThis->cTestsRec, pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Rec.cbToWrite,
    529529                pToneParms->Hdr.idxTest));
     
    531531        const uint32_t cbBeacon = AudioTestBeaconGetSize(&pTst->t.TestTone.Beacon);
    532532        if (cbBeacon)
    533             LogRel2(("ValKit: Guest recording test #%RU32 includes 2 x %RU32 bytes of pre/post beacons\n",
    534                      pThis->cTestsRec, cbBeacon));
     533            LogRel2(("ValKit: Test #%RU32: Uses 2 x %RU32 bytes of pre/post beacons\n",
     534                     pToneParms->Hdr.idxTest, cbBeacon));
    535535
    536536        RTListAppend(&pThis->lstTestsRec, &pTst->Node);
     
    571571
    572572    pTst->t.TestTone.u.Play.cbToRead  = PDMAudioPropsMilliToBytes(pProps,
    573                                                                        pTst->t.TestTone.Parms.msDuration);
     573                                                                  pTst->t.TestTone.Parms.msDuration);
    574574
    575575    /* We play a pre + post beacon before + after the actual test tone.
     
    580580    if (RT_SUCCESS(rc))
    581581    {
    582         LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes, host test #%RU32)\n",
     582        LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes) as test #%RU32\n",
    583583                pThis->cTestsPlay, pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Play.cbToRead,
    584584                pToneParms->Hdr.idxTest));
     
    586586        const uint32_t cbBeacon = AudioTestBeaconGetSize(&pTst->t.TestTone.Beacon);
    587587        if (cbBeacon)
    588             LogRel2(("ValKit: Guest playback test #%RU32 includes 2 x %RU32 bytes of pre/post beacons\n",
    589                      pThis->cTestsPlay, cbBeacon));
     588            LogRel2(("ValKit: Test #%RU32: Uses x %RU32 bytes of pre/post beacons\n",
     589                     pToneParms->Hdr.idxTest, cbBeacon));
    590590
    591591        RTListAppend(&pThis->lstTestsPlay, &pTst->Node);
     
    10581058    }
    10591059
    1060     LogRel4(("Playback audio data (%RU32 bytes):\n"
     1060    LogRel3(("ValKit: Test #%RU32: Playing stream '%s' (%RU32 bytes / %RU64ms) -- state is '%s' ...\n",
     1061             pTst->idxTest, pStream->pStream->Cfg.szName,
     1062             cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf),
     1063             AudioTestStateToStr(pTst->enmState)));
     1064
     1065    LogRel4(("ValKit: Playback audio data (%RU32 bytes):\n"
    10611066             "%.*Rhxd\n", cbBuf, cbBuf, pvBuf));
    10621067
     
    10881093        }
    10891094    }
    1090 
    1091     LogRel3(("ValKit: Test #%RU32: Playing stream '%s' (%RU32 bytes / %RU64ms) -- state is '%s' ...\n",
    1092              pTst->idxTest, pStream->pStream->Cfg.szName,
    1093              cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf),
    1094              AudioTestStateToStr(pTst->enmState)));
    10951095
    10961096    uint32_t cbWritten = 0;
     
    12841284    }
    12851285
    1286     LogRel4(("Capture audio data (%RU32 bytes):\n"
     1286    LogRel4(("ValKit: Capture audio data (%RU32 bytes):\n"
    12871287             "%.*Rhxd\n", cbBuf, cbBuf, pvBuf));
    12881288
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