VirtualBox

Ignore:
Timestamp:
Oct 19, 2021 8:04:08 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Fixed nits in audioTestStreamDestroy(). ​bugref:10008

File:
1 edited

Legend:

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

    r91826 r91834  
    385385static int audioTestStreamDestroy(PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream)
    386386{
    387     int rc = VINF_SUCCESS;
    388     if (pStream && pStream->pStream)
     387    AssertPtrReturn(pStream, VERR_INVALID_POINTER);
     388
     389    if (pStream->pStream)
    389390    {
    390391        /** @todo Anything else to do here, e.g. test if there are left over samples or some such? */
     
    397398    AudioTestMixStreamTerm(&pStream->Mix);
    398399
    399     return rc;
     400    return VINF_SUCCESS;
    400401}
    401402
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