VirtualBox

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


Ignore:
Timestamp:
Sep 9, 2016 12:37:34 PM (8 years ago)
Author:
vboxsync
Message:

Logging, assertions.

File:
1 edited

Legend:

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

    r63743 r63778  
    162162    }
    163163    else
    164         AssertReleaseMsgFailed(("Stream '%s' does not have a host pair (anymore)\n",
    165                                 pStream->szName));
     164        LogRel(("Audio: Warning: Stream '%s' does not have a host stream (anymore)\n", pStream->szName));
    166165
    167166    return pHstStream;
     
    10891088        PPDMAUDIOSTREAM pHstStream = drvAudioGetHostStream(pStream);
    10901089        AssertPtr(pHstStream);
    1091         PPDMAUDIOSTREAM pGstStream = pHstStream->pPair;
     1090        PPDMAUDIOSTREAM pGstStream = pHstStream ? pHstStream->pPair : NULL;
    10921091        AssertPtr(pGstStream);
    10931092
     
    11881187        PPDMAUDIOSTREAM pHstStream = drvAudioGetHostStream(pStream);
    11891188        AssertPtr(pHstStream);
    1190         PPDMAUDIOSTREAM pGstStream = pHstStream->pPair;
     1189        PPDMAUDIOSTREAM pGstStream = pHstStream ? pHstStream->pPair : NULL;
    11911190        AssertPtr(pGstStream);
    11921191
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