Changeset 70902 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 8, 2018 10:02:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r70881 r70902 517 517 if (RT_SUCCESS(rc)) 518 518 { 519 pHstStream->fStatus &= ~(PDMAUDIOSTREAMSTS_FLAG_ENABLED | PDMAUDIOSTREAMSTS_FLAG_PENDING_DISABLE);519 pHstStream->fStatus = PDMAUDIOSTREAMSTS_FLAG_INITIALIZED; /* Reset to initialized state. */ 520 520 AudioMixBufReset(&pHstStream->MixBuf); 521 521 } … … 3137 3137 { 3138 3138 pHstStream->fStatus &= ~PDMAUDIOSTREAMSTS_FLAG_INITIALIZED; 3139 #if 0 /** @todo r=andy Disabled for now -- need to test this on Windows hosts. */ 3140 Assert(pHstStream->fStatus == PDMAUDIOSTRMSTS_FLAG_NONE); 3139 3140 #ifdef VBOX_STRICT 3141 pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 3142 AssertMsg(pHstStream->fStatus == PDMAUDIOSTREAMSTS_FLAG_NONE, 3143 ("Stream '%s' still has %s set when destroying, must close properly first\n", 3144 pHstStream->szName, pszHstSts)); 3145 RTStrFree(pszHstSts); 3141 3146 #endif 3142 3147 } … … 3280 3285 PPDMAUDIOSTREAM pStream; 3281 3286 RTListForEach(&pThis->lstHstStreams, pStream, PDMAUDIOSTREAM, Node) 3287 { 3288 drvAudioStreamControlInternalBackend(pThis, pStream, PDMAUDIOSTREAMCMD_DISABLE); 3282 3289 drvAudioStreamDestroyInternalBackend(pThis, pStream); 3290 } 3283 3291 3284 3292 /*
Note:
See TracChangeset
for help on using the changeset viewer.