VirtualBox

Changeset 91429 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 28, 2021 11:17:38 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Made waiting for letting the guest and the audio stack process remaining data random. ​bugref:10008

File:
1 edited

Legend:

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

    r91413 r91429  
    601601            {
    602602                /** @todo Fudge! */
    603                 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Waiting a bit to let guest and the audio stack process remaining data  ...\n");
    604                 RTThreadSleep(RT_MS_30SEC);
     603                RTMSINTERVAL const msWait = RTRandU32Ex(RT_MS_5SEC, RT_MS_30SEC);
     604                RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS,
     605                             "Waiting %RU32ms to let guest and the audio stack process remaining data  ...\n", msWait);
     606                RTThreadSleep(msWait);
    605607            }
    606608
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