VirtualBox

Changeset 103517 in vbox


Ignore:
Timestamp:
Feb 22, 2024 7:54:50 AM (9 months ago)
Author:
vboxsync
Message:

Audio/VKAT: Try to fix the timeout issues.

Location:
trunk/src/VBox/ValidationKit/utils/audio
Files:
2 edited

Legend:

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

    r103509 r103517  
    583583
    584584        uint64_t        offStream          = 0;
    585         uint64_t        nsTimeout          = pTstEnv->msTimeout * RT_NS_1MS;
     585        uint64_t        nsTimeout          = uint64_t(pTstEnv->msTimeout) * RT_NS_1MS_64;
    586586        uint64_t        nsLastMsgCantWrite = 0; /* Timestamp (in ns) when the last message of an unwritable stream was shown. */
    587587        uint64_t        nsLastWrite        = 0;
     
    897897        uint64_t const  nsStarted         = RTTimeNanoTS();
    898898
    899         uint64_t        nsTimeout         = pTstEnv->msTimeout * RT_NS_1MS;
     899        uint64_t        nsTimeout         = uint64_t(pTstEnv->msTimeout) * RT_NS_1MS_64;
    900900        uint64_t        nsLastMsgCantRead = 0; /* Timestamp (in ns) when the last message of an unreadable stream was shown. */
    901901
  • trunk/src/VBox/ValidationKit/utils/audio/vkatInternal.h

    r103507 r103517  
    262262    /** Audio testing mode. */
    263263    AUDIOTESTMODE           enmMode;
    264     /** Failsafe timeout (in ms). Default is 5 minutes. */
     264    /** Failsafe timeout (in ms). Defaults to AUDIOTEST_TIMEOUT_DEFAULT_MS. */
    265265    RTMSINTERVAL            msTimeout;
    266266    /** Whether self test mode is active or not. */
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