VirtualBox

Ignore:
Timestamp:
Oct 8, 2021 2:25:25 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Use cbPlayed instead of cbToPlay in audioTestPlayTone() when generating the beacon data, to know if the data actually was reported as being played by the audio stack. ​bugref:10008

File:
1 edited

Legend:

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

    r91632 r91644  
    596596                    if (pTstEnv)
    597597                    {
    598                         /* Also write the beacon data to the test object. */
    599                         rc = AudioTestObjWrite(Obj, abBuf, cbToPlay);
     598                        /* Also write the beacon data to the test object.
     599                         * Note: We use cbPlayed here instead of cbToPlay to know if the data actually was
     600                         *       reported as being played by the audio stack. */
     601                        rc = AudioTestObjWrite(Obj, abBuf, cbPlayed);
    600602                    }
    601603
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