VirtualBox

Changeset 62579 in vbox for trunk


Ignore:
Timestamp:
Jul 27, 2016 9:41:26 AM (8 years ago)
Author:
vboxsync
Message:

Audio/AudioMixer.cpp: Assertions.

File:
1 edited

Legend:

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

    r62117 r62579  
    340340        }
    341341        else
    342             rc = VERR_WRONG_TYPE;
     342            AssertFailedStmt(rc = VERR_WRONG_TYPE);
    343343    }
    344344    else if (pStream->enmDir == PDMAUDIODIR_OUT)
     
    355355        }
    356356        else
    357             rc = VERR_WRONG_TYPE;
     357            AssertFailedStmt(rc = VERR_WRONG_TYPE);
    358358    }
    359359    else
     
    387387                               PPDMIAUDIOCONNECTOR pConn, PPDMAUDIOSTREAMCFG pCfg, uint32_t fFlags, PAUDMIXSTREAM *ppStream)
    388388{
    389     AssertPtrReturn(pSink,  VERR_INVALID_POINTER);
    390     AssertPtrReturn(pConn,  VERR_INVALID_POINTER);
    391     AssertPtrReturn(pCfg,   VERR_INVALID_POINTER);
     389    AssertPtrReturn(pSink, VERR_INVALID_POINTER);
     390    AssertPtrReturn(pConn, VERR_INVALID_POINTER);
     391    AssertPtrReturn(pCfg,  VERR_INVALID_POINTER);
    392392    /** @todo Validate fFlags. */
    393393    /* ppStream is optional. */
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