Changeset 73582 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 9, 2018 9:50:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r73581 r73582 1536 1536 return rc; 1537 1537 1538 /* Number of d etected disabled streams of this sink. */1539 uint8_t cStreamsDisabled = 0;1538 /* Number of disabled streams of this sink. */ 1539 uint8_t cStreamsDisabled = pSink->cStreams; 1540 1540 1541 1541 PAUDMIXSTREAM pMixStream, pMixStreamNext; … … 1587 1587 continue; 1588 1588 } 1589 1590 PDMAUDIOSTREAMSTS strmSts = pConn->pfnStreamGetStatus(pConn, pStream); 1591 1592 /* Is the stream not enabled and also is not in a pending disable state anymore? */ 1593 if ( !(strmSts & PDMAUDIOSTREAMSTS_FLAG_ENABLED) 1594 && !(strmSts & PDMAUDIOSTREAMSTS_FLAG_PENDING_DISABLE)) 1595 { 1596 cStreamsDisabled++; 1597 } 1589 } 1590 1591 PDMAUDIOSTREAMSTS strmSts = pConn->pfnStreamGetStatus(pConn, pStream); 1592 1593 /* Is the stream enabled or in pending disable state? 1594 * Don't consider this stream as being disabled then. */ 1595 if ( (strmSts & PDMAUDIOSTREAMSTS_FLAG_ENABLED) 1596 || (strmSts & PDMAUDIOSTREAMSTS_FLAG_PENDING_DISABLE)) 1597 { 1598 cStreamsDisabled--; 1598 1599 } 1599 1600
Note:
See TracChangeset
for help on using the changeset viewer.