VirtualBox

Ignore:
Timestamp:
Oct 26, 2021 7:02:32 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147868
Message:

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

File:
1 edited

Legend:

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

    r92047 r92057  
    664664                RTMSINTERVAL const msSleep = RT_MIN(RT_MAX(1, pStream->Cfg.Device.cMsSchedulingHint), 256);
    665665
    666                 if (   !nsLastMsgCantWrite
    667                     || nsNow - nsLastMsgCantWrite > RT_NS_10SEC) /* Don't spam the output too much. */
     666                if (   g_uVerbosity >= 3
     667                    && (   !nsLastMsgCantWrite
     668                        || (nsNow - nsLastMsgCantWrite) > RT_NS_10SEC) /* Don't spam the output too much. */
    668669                {
    669670                    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Waiting %RU32ms for stream to be writable again (last write %RU64ns ago) ...\n",
     
    813814
    814815                if (   g_uVerbosity >= 3
    815                     && (!nsLastMsgCantRead || nsNow - nsLastMsgCantRead > RT_NS_10SEC)) /* Don't spam the output too much. */
     816                    && (   !nsLastMsgCantRead
     817                        || (nsNow - nsLastMsgCantRead) > RT_NS_10SEC)) /* Don't spam the output too much. */
    816818                {
    817819                    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.

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