VirtualBox

Ignore:
Timestamp:
Oct 25, 2021 4:20:36 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147856
Message:

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

File:
1 edited

Legend:

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

    r92030 r92047  
    584584            if (cbCanWrite)
    585585            {
    586                 if (g_uVerbosity)
     586                if (g_uVerbosity >= 3)
    587587                    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Stream is writable with %RU32ms (%RU32 bytes)\n",
    588588                                 PDMAudioPropsBytesToMilli(pMix->pProps, cbCanWrite), cbCanWrite);
     
    787787            if (cbCanRead)
    788788            {
    789                 if (g_uVerbosity)
     789                if (g_uVerbosity >= 3)
    790790                    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Stream is readable with %RU32ms (%RU32 bytes)\n",
    791791                                 PDMAudioPropsBytesToMilli(pMix->pProps, cbCanRead), cbCanRead);
     
    812812                RTMSINTERVAL const msSleep = RT_MIN(RT_MAX(1, pStream->Cfg.Device.cMsSchedulingHint), 256);
    813813
    814                 if (!nsLastMsgCantRead || nsNow - nsLastMsgCantRead > RT_NS_10SEC) /* Don't spam the output too much. */
     814                if (   g_uVerbosity >= 3
     815                    && (!nsLastMsgCantRead || nsNow - nsLastMsgCantRead > RT_NS_10SEC)) /* Don't spam the output too much. */
    815816                {
    816817                    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Waiting %RU32ms for stream to be readable again ...\n", msSleep);
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