VirtualBox

Changeset 57383 in vbox


Ignore:
Timestamp:
Aug 17, 2015 12:21:07 PM (9 years ago)
Author:
vboxsync
Message:

Better.

File:
1 edited

Legend:

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

    r57382 r57383  
    717717static int dsoundCaptureOpen(PDRVHOSTDSOUND pThis, PDSOUNDSTREAMIN pDSoundStrmIn)
    718718{
    719     AssertPtrReturn(pThis, VERR_INVALID_PARAMETER);
    720     AssertPtrReturn(pDSoundStrmIn, VERR_INVALID_PARAMETER);
     719    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
     720    AssertPtrReturn(pDSoundStrmIn, VERR_INVALID_POINTER);
    721721
    722722    LogFlowFunc(("pDSoundStrmIn=%p, cbBufferIn=%ld, uHz=%RU32, cChannels=%RU8, cBits=%RU8, fSigned=%RTbool\n",
     
    859859static int dsoundCaptureStart(PDRVHOSTDSOUND pThis, PDSOUNDSTREAMIN pDSoundStrmIn)
    860860{
    861     AssertPtrReturn(pThis, VERR_INVALID_PARAMETER);
    862     AssertPtrReturn(pDSoundStrmIn, VERR_INVALID_PARAMETER);
     861    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
     862    AssertPtrReturn(pDSoundStrmIn, VERR_INVALID_POINTER);
    863863
    864864    HRESULT hr;
     
    10841084        default:
    10851085        {
    1086             AssertMsgFailed(("Invalid command %ld\n", enmStreamCmd));
     1086            AssertMsgFailed(("Invalid command: %ld\n", enmStreamCmd));
    10871087            rc = VERR_INVALID_PARAMETER;
    10881088            break;
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