Changeset 63828 in vbox
- Timestamp:
- Sep 14, 2016 9:43:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r63736 r63828 661 661 } 662 662 663 LogFlowFunc(("[%s]: enmCmd=%d, fStatus=0x%x, rc=%Rrc\n", pSink->pszName, enmSinkCmd, pSink->fStatus, rc)); 664 663 665 /* Not running anymore? Reset. */ 664 666 if (!(pSink->fStatus & AUDMIXSINK_STS_RUNNING)) 665 667 audioMixerSinkReset(pSink); 666 667 LogFlowFunc(("[%s]: enmCmd=%d, fStatus=0x%x, rc=%Rrc\n", pSink->pszName, enmSinkCmd, pSink->fStatus, rc));668 668 669 669 int rc2 = RTCritSectLeave(&pSink->CritSect); … … 996 996 997 997 PDMAUDIOSTRMSTS strmSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream); 998 fClean &= !(strmSts & PDMAUDIOSTRMSTS_FLAG_DATA_READABLE); 998 999 /* Still some data available? Then sink is not clean (yet). */ 1000 if (strmSts & PDMAUDIOSTRMSTS_FLAG_DATA_READABLE) 1001 fClean = false; 999 1002 } 1000 1003 … … 1018 1021 #endif 1019 1022 1020 Log3Func(("[%s] cbRead=%RU32, f Status=0x%x, rc=%Rrc\n", pSink->pszName, cbRead, pSink->fStatus, rc));1023 Log3Func(("[%s] cbRead=%RU32, fClean=%RTbool, fStatus=0x%x, rc=%Rrc\n", pSink->pszName, cbRead, fClean, pSink->fStatus, rc)); 1021 1024 1022 1025 int rc2 = RTCritSectLeave(&pSink->CritSect); … … 1111 1114 return; 1112 1115 1113 LogFunc((" %s\n", pSink->pszName));1116 LogFunc(("[%s]\n", pSink->pszName)); 1114 1117 1115 1118 if (pSink->enmDir == AUDMIXSINKDIR_INPUT)
Note:
See TracChangeset
for help on using the changeset viewer.