VirtualBox

Changeset 72110 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 4, 2018 12:35:32 PM (7 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Logging adjustments.

File:
1 edited

Legend:

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

    r71045 r72110  
    10031003
    10041004    } while (0);
     1005
     1006    Log3Func(("[%s] fEnabled=%RTbool, cbWrittenTotal=%RU32, rc=%Rrc\n", pStream->szName, pThis->Out.fEnabled, cbWrittenTotal, rc));
    10051007
    10061008#ifdef LOG_ENABLED
     
    23092311                break;
    23102312
    2311 #if defined (VBOX_WITH_STATISTICS) || defined (VBOX_AUDIO_DEBUG_DUMP_PCM_DATA)
     2313#ifdef VBOX_WITH_STATISTICS
    23122314            const uint32_t cbRead = AUDIOMIXBUF_F2B(&pGstStream->MixBuf, cRead);
    2313 #endif
    2314 
    2315 #ifdef VBOX_WITH_STATISTICS
     2315
    23162316            STAM_COUNTER_ADD(&pThis->Stats.TotalBytesRead,       cbRead);
    23172317            STAM_COUNTER_ADD(&pGstStream->In.StatBytesTotalRead, cbRead);
     
    23402340    } while (0);
    23412341
    2342     Log3Func(("[%s] cbReadTotal=%RU32, rc=%Rrc\n", pStream->szName, cbReadTotal, rc));
     2342    Log3Func(("[%s] fEnabled=%RTbool, cbReadTotal=%RU32, rc=%Rrc\n", pStream->szName, pThis->In.fEnabled, cbReadTotal, rc));
    23432343
    23442344    int rc2 = RTCritSectLeave(&pThis->CritSect);
     
    26652665    if (fEnable != *pfEnabled)
    26662666    {
     2667        LogRel(("Audio: %s %s\n",
     2668                fEnable ? "Enabling " : "Disabling ", enmDir == PDMAUDIODIR_IN ? "input" : "output"));
     2669
    26672670        PPDMAUDIOSTREAM pStream;
    26682671        RTListForEach(&pThis->lstHstStreams, pStream, PDMAUDIOSTREAM, Node)
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