Changeset 91210 in vbox for trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
- Timestamp:
- Sep 10, 2021 4:50:19 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r91199 r91210 272 272 pTstParmsAcq->Props = pTstEnv->Props; 273 273 pTstParmsAcq->enmDir = PDMAUDIODIR_OUT; 274 #ifdef DEBUG275 pTstParmsAcq->cIterations = 1;276 #else277 274 pTstParmsAcq->cIterations = RTRandU32Ex(1, 10); 278 #endif279 275 pTstParmsAcq->idxCurrent = 0; 280 276 … … 284 280 pToneParms->dbFreqHz = AudioTestToneGetRandomFreq(); 285 281 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. */ 291 283 pToneParms->msSequel = 0; /** @todo Implement analyzing this first! */ 292 284 pToneParms->uVolumePercent = 100; /** @todo Implement analyzing this first! */ … … 386 378 pTstParmsAcq->Props = pTstEnv->Props; 387 379 pTstParmsAcq->enmDir = PDMAUDIODIR_IN; 388 #ifdef DEBUG389 pTstParmsAcq->cIterations = 1;390 #else391 380 pTstParmsAcq->cIterations = RTRandU32Ex(1, 10); 392 #endif393 381 pTstParmsAcq->idxCurrent = 0; 394 382 … … 399 387 pToneParms->msPrequel = 0; /** @todo Implement analyzing this first! */ 400 388 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? */ 406 390 pToneParms->msSequel = 0; /** @todo Implement analyzing this first! */ 407 391 pToneParms->uVolumePercent = 100; /** @todo Implement analyzing this first! */
Note:
See TracChangeset
for help on using the changeset viewer.