VirtualBox

Changeset 54942 in vbox


Ignore:
Timestamp:
Mar 25, 2015 3:09:28 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99190
Message:

DrvAudio.cpp: Logging.

File:
1 edited

Legend:

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

    r54941 r54942  
    14821482
    14831483static DECLCALLBACK(int) drvAudioEnableOut(PPDMIAUDIOCONNECTOR pInterface,
    1484                                            PPDMAUDIOGSTSTRMOUT pGstVoiceOut, bool fEnable)
     1484                                           PPDMAUDIOGSTSTRMOUT pGstStrmOut, bool fEnable)
    14851485{
    14861486    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
    1487     /* pGstVoiceOut is optional. */
     1487    /* pGstStrmOut is optional. */
    14881488
    14891489    PDRVAUDIO pThis = PDMIAUDIOCONNECTOR_2_DRVAUDIO(pInterface);
    14901490
    1491     if (pGstVoiceOut)
    1492     {
    1493         PPDMAUDIOHSTSTRMOUT pHstStrmOut = pGstVoiceOut->pHstStrmOut;
     1491    if (pGstStrmOut)
     1492    {
     1493        PPDMAUDIOHSTSTRMOUT pHstStrmOut = pGstStrmOut->pHstStrmOut;
    14941494        AssertPtr(pHstStrmOut);
    14951495
    1496         if (pGstVoiceOut->State.fActive != fEnable)
     1496        LogFlowFunc(("%s: fEnable=%RTbool\n", pGstStrmOut->MixBuf.pszName, fEnable));
     1497
     1498        if (pGstStrmOut->State.fActive != fEnable)
    14971499        {
    14981500            if (fEnable)
     
    15241526            }
    15251527
    1526             pGstVoiceOut->State.fActive = fEnable;
     1528            pGstStrmOut->State.fActive = fEnable;
    15271529        }
    15281530    }
     
    15441546        AssertPtr(pHstStrmIn);
    15451547
    1546         LogFlowFunc(("%s -> %s, fEnable=%RTbool\n",
    1547                      pHstStrmIn->MixBuf.pszName, pGstStrmIn->MixBuf.pszName, fEnable));
     1548        LogFlowFunc(("%s: fEnable=%RTbool\n", pGstStrmIn->MixBuf.pszName, fEnable));
    15481549
    15491550        if (pGstStrmIn->State.fActive != fEnable)
Note: See TracChangeset for help on using the changeset viewer.

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