Changeset 88724 in vbox for trunk/src/VBox/Devices/Audio/AudioMixer.cpp
- Timestamp:
- Apr 27, 2021 10:24:18 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r88723 r88724 1734 1734 if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED) 1735 1735 { 1736 PDMAUDIOSTREAMSTSconst fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);1737 if (fSts & (PDMAUDIOSTREAM STS_FLAGS_ENABLED | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))1736 uint32_t const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream); 1737 if (fSts & (PDMAUDIOSTREAM_STS_ENABLED | PDMAUDIOSTREAM_STS_PENDING_DISABLE)) 1738 1738 cStreamsDisabled--; 1739 1739 } … … 1899 1899 if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED) 1900 1900 { 1901 PDMAUDIOSTREAMSTSconst fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);1902 if (fSts & (PDMAUDIOSTREAM STS_FLAGS_ENABLED | PDMAUDIOSTREAMSTS_FLAGS_PENDING_DISABLE))1901 uint32_t const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream); 1902 if (fSts & (PDMAUDIOSTREAM_STS_ENABLED | PDMAUDIOSTREAM_STS_PENDING_DISABLE)) 1903 1903 cStreamsDisabled--; 1904 1904 } … … 2103 2103 */ 2104 2104 uint32_t fStreamStatus = pConn->pfnStreamGetStatus(pConn, pStream); 2105 if (!(fStreamStatus & PDMAUDIOSTREAM STS_FLAGS_NEED_REINIT))2105 if (!(fStreamStatus & PDMAUDIOSTREAM_STS_NEED_REINIT)) 2106 2106 { /* likely */ } 2107 2107 else … … 2279 2279 if ( pMixStream->pConn 2280 2280 && pMixStream->pStream 2281 && RT_BOOL(pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAMSTS_FLAGS_ENABLED)) 2282 { 2281 && (pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAM_STS_ENABLED)) 2283 2282 fIsActive = true; 2284 }2285 2283 else 2286 2284 fIsActive = false; … … 2311 2309 if ( pMixStream->pConn 2312 2310 && pMixStream->pStream 2313 && RT_BOOL(pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAMSTS_FLAGS_INITIALIZED)) 2314 { 2311 && (pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream) & PDMAUDIOSTREAM_STS_INITIALIZED)) 2315 2312 fIsValid = true; 2316 }2317 2313 else 2318 2314 fIsValid = false;
Note:
See TracChangeset
for help on using the changeset viewer.