VirtualBox

Changeset 68955 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Oct 2, 2017 3:50:39 PM (7 years ago)
Author:
vboxsync
Message:

Audio/DrvHostDSound.cpp: Don't destroy the existing DirectSound interface(s) when creating new audio streams; this might put existing streams on that interface in trouble without letting them know.

File:
1 edited

Legend:

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

    r68954 r68955  
    623623        return E_INVALIDARG;
    624624
    625     directSoundPlayInterfaceDestroy(pThis);
    626 
    627625    dsoundUpdateStatusInternal(pThis);
    628626
     
    11221120        return E_INVALIDARG;
    11231121
    1124     directSoundCaptureInterfaceDestroy(pThis);
    1125 
    11261122    dsoundUpdateStatusInternalEx(pThis, NULL /* Cfg */, DSOUNDENUMCBFLAGS_LOG /* fEnum */);
    11271123
     
    12241220        pStreamDS->In.hrLastCapture     = S_OK;
    12251221
    1226         DSLOG(("DSound: Started capturing offReadPos=%RU32, cbBufSize=%RU32\n",
     1222        DSLOG(("DSound: Opened capturing offReadPos=%RU32, cbBufSize=%RU32\n",
    12271223               pStreamDS->In.offReadPos, pStreamDS->In.cbBufSize));
    12281224
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