VirtualBox

Changeset 64866 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Dec 14, 2016 1:39:25 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112268
Message:

Assertion / logging fixes.

File:
1 edited

Legend:

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

    r64568 r64866  
    768768    AssertPtrReturn(pStream,    VERR_INVALID_POINTER);
    769769    AssertPtrReturn(pvBuf,      VERR_INVALID_POINTER);
    770     AssertReturn(cbBuf,         VERR_INVALID_POINTER);
     770    AssertReturn(cbBuf,         VERR_INVALID_PARAMETER);
    771771    /* pcbWritten is optional. */
    772772
     
    805805
    806806        PPDMAUDIOSTREAM pGstStream = pHstStream->pPair;
     807        AssertPtr(pGstStream);
    807808
    808809        AssertMsg(pGstStream->fStatus & PDMAUDIOSTRMSTS_FLAG_ENABLED,
     
    815816            LogRel2(("Audio: Guest stream '%s' full, expect stuttering audio output\n", pGstStream->szName));
    816817#ifdef DEBUG_andy
    817             AssertMsgFailed(("%s: Guest stream full\n", pGstStream->szName));
     818            AssertMsgFailed(("%s: Guest stream full: cbBuf=%RU32\n", pGstStream->szName, cbBuf));
    818819#endif
    819820            break;
     
    848849            {
    849850                LogRel2(("Audio: Lost audio samples (%RU32) due to full host stream '%s', expect stuttering audio output\n",
    850                          csWritten - csMixed, pGstStream->szName));
     851                         csWritten - csMixed, pHstStream->szName));
    851852            }
    852853
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette