VirtualBox

Ignore:
Timestamp:
Sep 10, 2021 4:50:19 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Tweaked randomized test tone parameters a bit. bugref:10008

File:
1 edited

Legend:

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

    r91199 r91210  
    272272    pTstParmsAcq->Props       = pTstEnv->Props;
    273273    pTstParmsAcq->enmDir      = PDMAUDIODIR_OUT;
    274 #ifdef DEBUG
    275     pTstParmsAcq->cIterations = 1;
    276 #else
    277274    pTstParmsAcq->cIterations = RTRandU32Ex(1, 10);
    278 #endif
    279275    pTstParmsAcq->idxCurrent  = 0;
    280276
     
    284280    pToneParms->dbFreqHz       = AudioTestToneGetRandomFreq();
    285281    pToneParms->msPrequel      = 0; /** @todo Implement analyzing this first! */
    286 #ifdef DEBUG
    287     pToneParms->msDuration     = RTRandU32Ex(50, 2500);
    288 #else
    289     pToneParms->msDuration     = RTRandU32Ex(0, RT_MS_10SEC); /** @todo Probably a bit too long, but let's see. */
    290 #endif
     282    pToneParms->msDuration     = RTRandU32Ex(200, RT_MS_30SEC); /** @todo Probably a bit too long, but let's see. */
    291283    pToneParms->msSequel       = 0;   /** @todo Implement analyzing this first! */
    292284    pToneParms->uVolumePercent = 100; /** @todo Implement analyzing this first! */
     
    386378    pTstParmsAcq->Props       = pTstEnv->Props;
    387379    pTstParmsAcq->enmDir      = PDMAUDIODIR_IN;
    388 #ifdef DEBUG
    389     pTstParmsAcq->cIterations = 1;
    390 #else
    391380    pTstParmsAcq->cIterations = RTRandU32Ex(1, 10);
    392 #endif
    393381    pTstParmsAcq->idxCurrent  = 0;
    394382
     
    399387    pToneParms->msPrequel      = 0; /** @todo Implement analyzing this first! */
    400388    pToneParms->Props          = pTstParmsAcq->Props;
    401 #ifdef DEBUG
    402     pToneParms->msDuration     = RTRandU32Ex(50 /* ms */, 2500);
    403 #else
    404     pToneParms->msDuration     = RTRandU32Ex(50 /* ms */, RT_MS_30SEC); /** @todo Record even longer? */
    405 #endif
     389    pToneParms->msDuration     = RTRandU32Ex(200 /* ms */, RT_MS_30SEC); /** @todo Record even longer? */
    406390    pToneParms->msSequel       = 0;   /** @todo Implement analyzing this first! */
    407391    pToneParms->uVolumePercent = 100; /** @todo Implement analyzing this first! */
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