VirtualBox

Changeset 91653 in vbox


Ignore:
Timestamp:
Oct 10, 2021 8:32:28 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Sped up the selftest a little by limiting the iteration to 1 and the test tone duration time. ​bugref:10008

File:
1 edited

Legend:

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

    r91632 r91653  
    4747#include <iprt/getopt.h>
    4848#include <iprt/message.h>
     49#include <iprt/rand.h>
    4950#include <iprt/test.h>
    5051
     
    186187    pTstEnvHst->fSelftest = true;
    187188
     189    /* One test iteration with a 5s maximum test tone is enough for a (quick) self test. */
     190    pTstEnvHst->cIterations          = 1;
     191    pTstEnvHst->ToneParms.msDuration = RTRandU32Ex(500, RT_MS_5SEC);
     192
    188193    /* Generate tag for host side. */
    189194    rc = RTStrCopy(pTstEnvHst->szTag, sizeof(pTstEnvHst->szTag), pCtx->szTag);
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