VirtualBox

Changeset 91492 in vbox for trunk


Ignore:
Timestamp:
Sep 30, 2021 8:36:00 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147176
Message:

Audio/Validation Kit: Logging tweaks. ​bugref:10008

File:
1 edited

Legend:

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

    r91178 r91492  
    20242024            if (cDiffs)
    20252025            {
    2026                 int rc2 = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "Chunks differ: A [%RU64-%RU64] vs. B [%RU64-%RU64] (%RU64 bytes, %RU64ms)",
    2027                                                                                      pCmpA->offStart + offLastDiff, pCmpA->offStart + offCur,
    2028                                                                                      pCmpB->offStart + offLastDiff, pCmpB->offStart + offCur, offCur - offLastDiff,
    2029                                                                                      PDMAudioPropsBytesToMilli(&pToneParms->Props, offCur - offLastDiff));
     2026                int rc2 = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "Chunks differ: A @ %#x vs. B @ %#x [%08RU64-%08RU64] (%RU64 bytes, %RU64ms)",
     2027                                                                                     pCmpA->offStart, pCmpB->offStart, offLastDiff, offCur,
     2028                                                                                     offCur - offLastDiff, PDMAudioPropsBytesToMilli(&pToneParms->Props, offCur - offLastDiff));
    20302029                AssertRC(rc2);
    20312030            }
     
    21652164                             cbSizeB);
    21662165
    2167     int rc2 = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "File A ('%s'): cbOff=%RU64 cbSize=%RU64, cbFileSize=%RU64\n",
     2166    int rc2 = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "File A ('%s'): uOff=%#x, cbSize=%RU64, cbFileSize=%RU64\n",
    21682167                                        ObjA.szName, FileA.offStart, FileA.cbSize, cbSizeA);
    21692168    AssertRC(rc2);
    21702169
    2171     rc = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "File B ('%s'): cbOff=%RU64, cbSize=%RU64, cbFileSize=%RU64\n",
     2170    rc = audioTestErrorDescAddInfo(pVerJob->pErr, pVerJob->idxTest, "File B ('%s'): uOff=%#x, cbSize=%RU64, cbFileSize=%RU64\n",
    21722171                                   ObjB.szName, FileB.offStart, FileB.cbSize, cbSizeB);
    21732172    AssertRC(rc2);
     
    21782177    {
    21792178        rc2 = audioTestErrorDescAddError(pVerJob->pErr, pVerJob->idxTest,
    2180                                          "Files '%s' and '%s' have too many different chunks (%RU32 vs. %RU32)",
     2179                                         "Files '%s' and '%s' have too many different chunks (got %RU32, expected %RU32)",
    21812180                                         ObjA.szName, ObjB.szName, cDiffs, pVerJob->Opts.cMaxDiff);
    21822181        AssertRC(rc2);
Note: See TracChangeset for help on using the changeset viewer.

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