VirtualBox

Changeset 59086 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Dec 11, 2015 9:54:59 AM (9 years ago)
Author:
vboxsync
Message:

DrvAudio.cpp: Always propagate stream state changes to the backend(s).

File:
1 edited

Legend:

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

    r58983 r59086  
    18321832        LogFlowFunc(("%s: fEnable=%RTbool\n", pGstStrmIn->MixBuf.pszName, fEnable));
    18331833
    1834         if (pGstStrmIn->State.fActive != fEnable) /* Only process real state changes. */
    1835         {
    1836             rc = drvAudioControlHstIn(pThis, pHstStrmIn,
    1837                                       fEnable ? PDMAUDIOSTREAMCMD_ENABLE : PDMAUDIOSTREAMCMD_DISABLE);
    1838             if (RT_SUCCESS(rc))
    1839                 pGstStrmIn->State.fActive = fEnable;
    1840 
    1841             LogFlowFunc(("%s: fEnable=%RTbool, rc=%Rrc\n", pGstStrmIn->MixBuf.pszName, fEnable, rc));
    1842         }
     1834        rc = drvAudioControlHstIn(pThis, pHstStrmIn,
     1835                                  fEnable ? PDMAUDIOSTREAMCMD_ENABLE : PDMAUDIOSTREAMCMD_DISABLE);
     1836        if (RT_SUCCESS(rc))
     1837            pGstStrmIn->State.fActive = fEnable;
     1838
     1839        LogFlowFunc(("%s: fEnable=%RTbool, rc=%Rrc\n", pGstStrmIn->MixBuf.pszName, fEnable, rc));
    18431840    }
    18441841
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