- Timestamp:
- Jul 6, 2016 3:33:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r62054 r62068 363 363 AssertPtrReturn(pStream, VERR_INVALID_POINTER); 364 364 365 LogFlowFunc(("[%s] enmStreamCmd=%RU32\n", pStream->szName, enmStreamCmd));366 367 365 PPDMAUDIOSTREAM pHstStream = drvAudioGetHostStream(pStream); 368 366 AssertPtr(pHstStream); 367 368 LogFlowFunc(("[%s] enmStreamCmd=%RU32, fStatus=0x%x\n", pHstStream->szName, enmStreamCmd, pHstStream->fStatus)); 369 369 370 370 AssertPtr(pThis->pHostDrvAudio); … … 404 404 case PDMAUDIOSTREAMCMD_PAUSE: 405 405 { 406 /* Only pause if the stream is enabled. */ 407 if (!(pHstStream->fStatus & PDMAUDIOSTRMSTS_FLAG_ENABLED)) 408 break; 409 406 410 if (!(pHstStream->fStatus & PDMAUDIOSTRMSTS_FLAG_PAUSED)) 407 411 { … … 415 419 case PDMAUDIOSTREAMCMD_RESUME: 416 420 { 421 /* Only need to resume if the stream is enabled. */ 422 if (!(pHstStream->fStatus & PDMAUDIOSTRMSTS_FLAG_ENABLED)) 423 break; 424 417 425 if (pHstStream->fStatus & PDMAUDIOSTRMSTS_FLAG_PAUSED) 418 426 {
Note:
See TracChangeset
for help on using the changeset viewer.