VirtualBox

Changeset 88992 in vbox for trunk


Ignore:
Timestamp:
May 12, 2021 12:50:41 AM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioPulseAudio: Build fix (draining revamp). bugref:9890

File:
1 edited

Legend:

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

    r88991 r88992  
    15671567    if (pThis->pContext)
    15681568    {
    1569         pa_context_state_t const enmCtxState = pa_context_get_state(pThis->pContext);
    1570         if (PA_CONTEXT_IS_GOOD(enmCtxState))
    1571         {
    1572             pa_stream_state_t const enmStreamState = pa_stream_get_state(pStreamPA->pStream);
    1573             if (PA_STREAM_IS_GOOD(enmState))
     1569        pa_context_state_t const enmPaCtxState = pa_context_get_state(pThis->pContext);
     1570        if (PA_CONTEXT_IS_GOOD(enmPaCtxState))
     1571        {
     1572            pa_stream_state_t const enmPaStreamState = pa_stream_get_state(pStreamPA->pStream);
     1573            if (PA_STREAM_IS_GOOD(enmPaStreamState))
    15741574            {
    1575                 if (enmState != PA_STREAM_CREATING)
     1575                if (enmPaStreamState != PA_STREAM_CREATING)
    15761576                {
    15771577                    if (   pStreamPA->Cfg.enmDir != PDMAUDIODIR_OUT
     
    15861586            }
    15871587            else
    1588                 LogFunc(("non-good PA stream state: %d\n", enmStreamState));
     1588                LogFunc(("non-good PA stream state: %d\n", enmPaStreamState));
    15891589        }
    15901590        else
    1591             LogFunc(("non-good PA context state: %d\n", enmCtxState));
     1591            LogFunc(("non-good PA context state: %d\n", enmPaCtxState));
    15921592    }
    15931593    else
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