VirtualBox

Changeset 89560 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Jun 8, 2021 8:41:04 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144986
Message:

Audio/ValKit: Only report back bytes to read if a (current) test is active in drvHostValKitAudioHA_StreamGetReadable() [committed a bit too much]. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp

    r89557 r89560  
    489489    if (pThis->pTestCur == NULL) /* Empty list? */
    490490    {
    491         //LogRelMax(64, ("Audio: Validation Kit: Warning: Guest is playing back data when no playback test is active\n"));
    492 
    493         *pcbWritten = cbBuf; /* Report all data as being written. */
     491        LogRelMax(64, ("Audio: Validation Kit: Warning: Guest is playing back data when no playback test is active\n"));
     492
     493        *pcbWritten = 0;
    494494        return VINF_SUCCESS;
    495495    }
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