VirtualBox

Changeset 64709 in vbox


Ignore:
Timestamp:
Nov 18, 2016 11:01:35 AM (8 years ago)
Author:
vboxsync
Message:

DrvHostPulseAudio: removed temporary logging

File:
1 edited

Legend:

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

    r64708 r64709  
    176176{
    177177    if (!pThis)
    178     {
    179         LogRel(("DEBUG: paSignalWaiter return because of !pThis\n"));
    180178        return;
    181     }
    182 
    183     LogRel(("DEBUG: paSignalWaiter set fAbortLoop=true and calling pa_threaded_mainloop_signal()\n"));
     179
    184180    pThis->fAbortLoop = true;
    185181    pa_threaded_mainloop_signal(pThis->pMainLoop, 0);
     
    264260
    265261    uint64_t u64StartMs = RTTimeMilliTS();
    266     LogRel(("DEBUG: entering paWaitForEx\n"));
    267262    while (pa_operation_get_state(pOP) == PA_OPERATION_RUNNING)
    268263    {
     
    270265        {
    271266            AssertPtr(pThis->pMainLoop);
    272             LogRel(("DEBUG: entering pa_threaded_mainloop_wait()\n"));
    273267            pa_threaded_mainloop_wait(pThis->pMainLoop);
    274             LogRel(("DEBUG: leaving pa_threaded_mainloop_wait()\n"));
    275268        }
    276269        pThis->fAbortLoop = false;
     
    282275            break;
    283276        }
    284         LogRel(("DEBUG: paWaitForEx next turn (elapsed=%RU64ms)\n", u64ElapsedMs));
    285277    }
    286278
     
    993985{
    994986    if (eol != 0)
    995     {
    996         LogRel(("DEBUG: paEnumSinkCb return EOL=1\n"));
    997         return;
    998     }
    999     if (!pCtx)
    1000         LogRel(("DEBUG: paEnumSinkCb return because of !pCtx\n"));
    1001     AssertPtrReturnVoid(pCtx);
    1002     if (!pInfo)
    1003         LogRel(("DEBUG: paEnumSinkCb return because of !pInfo\n"));
    1004     AssertPtrReturnVoid(pInfo);
    1005 
    1006     PPULSEAUDIOENUMCBCTX pCbCtx = (PPULSEAUDIOENUMCBCTX)pvUserData;
    1007     if (!pCbCtx)
    1008         LogRel(("DEBUG: paEnumSinkCb return because of !pCbCtx\n"));
    1009     AssertPtrReturnVoid(pCbCtx);
    1010     if (!pCbCtx->pDrv)
    1011         LogRel(("DEBUG: paEnumSinkCb return because of !pCbCtx->pDrv\n"));
    1012     AssertPtrReturnVoid(pCbCtx->pDrv);
    1013 
    1014     LogRel2(("PulseAudio: Using output sink '%s'\n", pInfo->name));
    1015 
    1016     /** @todo Store sinks + channel mapping in callback context as soon as we have surround support. */
    1017     pCbCtx->cDevOut++;
    1018 
    1019     LogRel(("DEBUG: pa_threaded_mainloop_signal() from paEnumSinkCb\n"));
    1020     pa_threaded_mainloop_signal(pCbCtx->pDrv->pMainLoop, 0);
    1021 }
    1022 
    1023 
    1024 static void paEnumSourceCb(pa_context *pCtx, const pa_source_info *pInfo, int eol, void *pvUserData)
    1025 {
    1026     if (eol != 0)
    1027987        return;
    1028988
     
    1034994    AssertPtrReturnVoid(pCbCtx->pDrv);
    1035995
     996    LogRel2(("PulseAudio: Using output sink '%s'\n", pInfo->name));
     997
     998    /** @todo Store sinks + channel mapping in callback context as soon as we have surround support. */
     999    pCbCtx->cDevOut++;
     1000
     1001    pa_threaded_mainloop_signal(pCbCtx->pDrv->pMainLoop, 0);
     1002}
     1003
     1004
     1005static void paEnumSourceCb(pa_context *pCtx, const pa_source_info *pInfo, int eol, void *pvUserData)
     1006{
     1007    if (eol != 0)
     1008        return;
     1009
     1010    AssertPtrReturnVoid(pCtx);
     1011    AssertPtrReturnVoid(pInfo);
     1012
     1013    PPULSEAUDIOENUMCBCTX pCbCtx = (PPULSEAUDIOENUMCBCTX)pvUserData;
     1014    AssertPtrReturnVoid(pCbCtx);
     1015    AssertPtrReturnVoid(pCbCtx->pDrv);
     1016
    10361017    LogRel2(("PulseAudio: Using input source '%s'\n", pInfo->name));
    10371018
     
    10391020    pCbCtx->cDevIn++;
    10401021
    1041     LogRel(("DEBUG: pa_threaded_mainloop_signal() from paEnumSourceCb\n"));
    10421022    pa_threaded_mainloop_signal(pCbCtx->pDrv->pMainLoop, 0);
    10431023}
     
    10671047    }
    10681048
    1069     LogRel(("DEBUG: pa_threaded_mainloop_signal() from paEnumServerCb\n"));
    10701049    pa_threaded_mainloop_signal(pThis->pMainLoop, 0);
    10711050}
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