VirtualBox

Changeset 92382 in vbox


Ignore:
Timestamp:
Nov 11, 2021 9:18:57 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Logging nits. bugref:10008

File:
1 edited

Legend:

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

    r92347 r92382  
    307307        RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec));
    308308
    309         RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU16/%RU16): Playing test tone (%RU16Hz, %RU32ms)\n",
     309        RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU32/%RU32): Playing test tone (%RU16Hz, %RU32ms)\n",
    310310                     pTstParms->idxCurrent, i + 1, pTstParms->cIterations, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration);
    311311
     
    326326            rc = AudioTestSvcClientTonePlay(&pTstEnv->u.Host.AtsClGuest, pToneParms);
    327327            if (RT_FAILURE(rc))
    328                 RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): AudioTestSvcClientTonePlay() failed with %Rrc\n",
     328                RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientTonePlay() failed with %Rrc\n",
    329329                             pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    330330        }
    331331        else
    332             RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): AudioTestSvcClientToneRecord() failed with %Rrc\n",
     332            RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientToneRecord() failed with %Rrc\n",
    333333                         pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    334334
     
    344344        if (RT_FAILURE(rc))
    345345        {
    346             RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): Playing test tone failed with %Rrc\n",
     346            RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): Playing test tone failed with %Rrc\n",
    347347                         pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    348348            break; /* Not worth retrying, bail out. */
     
    406406        RTTimeExplode(&pToneParms->Hdr.tsCreated, RTTimeNow(&NowTimeSpec));
    407407
    408         RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU16/%RU16): Recording test tone (%RU16Hz, %RU32ms)\n",
     408        RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%RU32 (%RU32/%RU32): Recording test tone (%RU16Hz, %RU32ms)\n",
    409409                     pTstParms->idxCurrent, i + 1, pTstParms->cIterations, (uint16_t)pToneParms->dbFreqHz, pToneParms->msDuration);
    410410
     
    422422            rc = AudioTestSvcClientToneRecord(&pTstEnv->u.Host.AtsClGuest, &pTstParms->TestTone);
    423423            if (RT_FAILURE(rc))
    424                 RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): AudioTestSvcClientToneRecord() failed with %Rrc\n",
     424                RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientToneRecord() failed with %Rrc\n",
    425425                             pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    426426        }
    427427        else
    428             RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): AudioTestSvcClientTonePlay() failed with %Rrc\n",
     428            RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): AudioTestSvcClientTonePlay() failed with %Rrc\n",
    429429                         pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    430430
     
    438438        if (RT_FAILURE(rc))
    439439        {
    440             RTTestFailed(g_hTest, "Test #%RU32 (%RU16/%RU16): Recording test tone failed with %Rrc\n",
     440            RTTestFailed(g_hTest, "Test #%RU32 (%RU32/%RU32): Recording test tone failed with %Rrc\n",
    441441                         pTstParms->idxCurrent, i + 1, pTstParms->cIterations, rc);
    442442            break; /* Not worth retrying, bail out. */
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