VirtualBox

Ignore:
Timestamp:
Apr 27, 2021 10:24:18 AM (4 years ago)
Author:
vboxsync
Message:

Audio: PDMAUDIOSTREAMSTS_FLAGS_XXX -> PDMAUDIOSTREAM_STS_XXX. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioMixer.cpp

    r88723 r88724  
    17341734            if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED)
    17351735            {
    1736                 PDMAUDIOSTREAMSTS const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
    1737                 if (fSts & (PDMAUDIOSTREAMSTS_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))
    17381738                    cStreamsDisabled--;
    17391739            }
     
    18991899            if (pMixStream->fStatus & AUDMIXSTREAM_STATUS_ENABLED)
    19001900            {
    1901                 PDMAUDIOSTREAMSTS const fSts = pMixStream->pConn->pfnStreamGetStatus(pMixStream->pConn, pMixStream->pStream);
    1902                 if (fSts & (PDMAUDIOSTREAMSTS_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))
    19031903                    cStreamsDisabled--;
    19041904            }
     
    21032103         */
    21042104        uint32_t fStreamStatus = pConn->pfnStreamGetStatus(pConn, pStream);
    2105         if (!(fStreamStatus & PDMAUDIOSTREAMSTS_FLAGS_NEED_REINIT))
     2105        if (!(fStreamStatus & PDMAUDIOSTREAM_STS_NEED_REINIT))
    21062106        { /* likely */ }
    21072107        else
     
    22792279    if (   pMixStream->pConn
    22802280        && 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))
    22832282        fIsActive = true;
    2284     }
    22852283    else
    22862284        fIsActive = false;
     
    23112309    if (   pMixStream->pConn
    23122310        && 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))
    23152312        fIsValid = true;
    2316     }
    23172313    else
    23182314        fIsValid = false;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette