VirtualBox

Changeset 91148 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 8, 2021 10:54:36 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Try draining the stream in the hope that we can write to it soon again. bugref:10008

File:
1 edited

Legend:

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

    r91143 r91148  
    346346                    nsLastMsgCantWrite = nsNow;
    347347                }
     348
    348349                RTThreadSleep(RT_MIN(RT_MAX(1, pStream->Cfg.Device.cMsSchedulingHint), 256));
     350
     351                /* Try draining the stream in the hope that we can write to it soon again. */
     352                rc = AudioTestMixStreamDrain(&pStream->Mix, true /*fSync*/);
     353                AssertRCBreak(rc);
    349354            }
    350355            else
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