Changeset 91211 in vbox
- Timestamp:
- Sep 10, 2021 4:57:36 PM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/audio
- Files:
-
- 2 edited
-
vkat.cpp (modified) (3 diffs)
-
vkatInternal.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r91210 r91211 272 272 pTstParmsAcq->Props = pTstEnv->Props; 273 273 pTstParmsAcq->enmDir = PDMAUDIODIR_OUT; 274 pTstParmsAcq->cIterations = RTRandU32Ex(1, 10);274 pTstParmsAcq->cIterations = pTstEnv->cIterations == 0 ? RTRandU32Ex(1, 10) : pTstEnv->cIterations; 275 275 pTstParmsAcq->idxCurrent = 0; 276 276 … … 378 378 pTstParmsAcq->Props = pTstEnv->Props; 379 379 pTstParmsAcq->enmDir = PDMAUDIODIR_IN; 380 pTstParmsAcq->cIterations = RTRandU32Ex(1, 10);380 pTstParmsAcq->cIterations = pTstEnv->cIterations == 0 ? RTRandU32Ex(1, 10) : pTstEnv->cIterations; 381 381 pTstParmsAcq->idxCurrent = 0; 382 382 … … 831 831 832 832 case VKAT_TEST_OPT_COUNT: 833 return RTMsgErrorExitFailure("Not yet implemented!"); 833 TstEnv.cIterations = ValueUnion.u32; 834 break; 834 835 835 836 case VKAT_TEST_OPT_DEV: -
trunk/src/VBox/ValidationKit/utils/audio/vkatInternal.h
r91088 r91211 233 233 * Might not be available on all systems. */ 234 234 uint8_t uVolumePercent; 235 /** Number of iterations for *all* tests specified. 236 * When set to 0 (default), a random value (see specific test) will be chosen. */ 237 uint32_t cIterations; 235 238 /** Output path for storing the test environment's final test files. */ 236 239 char szTag[AUDIOTEST_TAG_MAX];
Note:
See TracChangeset
for help on using the changeset viewer.

