VirtualBox

Changeset 64979 in vbox


Ignore:
Timestamp:
Dec 21, 2016 1:17:39 PM (8 years ago)
Author:
vboxsync
Message:

Logging.

File:
1 edited

Legend:

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

    r64970 r64979  
    365365
    366366#ifdef LOG_ENABLED
    367     char *pszHstFlags = dbgAudioStreamStatusToStr(pHstStream->fStatus);
    368     char *pszGstFlags = dbgAudioStreamStatusToStr(pHstStream->fStatus);
    369     LogFlowFunc(("Status host=%s, guest=%s\n", pszHstFlags, pszGstFlags));
    370     RTStrFree(pszGstFlags);
    371     RTStrFree(pszHstFlags);
     367    char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     368    char *pszGstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     369    LogFlowFunc(("Status host=%s, guest=%s\n", pszHstSts, pszGstSts));
     370    RTStrFree(pszGstSts);
     371    RTStrFree(pszHstSts);
    372372#endif /* LOG_ENABLED */
    373373
     
    481481
    482482#ifdef LOG_ENABLED
    483     char *pszHstFlags = dbgAudioStreamStatusToStr(pHstStream->fStatus);
    484     LogFlowFunc(("[%s] enmStreamCmd=%RU32, fStatus=%s\n", pHstStream->szName, enmStreamCmd, pszHstFlags));
    485     RTStrFree(pszHstFlags);
     483    char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     484    LogFlowFunc(("[%s] enmStreamCmd=%RU32, fStatus=%s\n", pHstStream->szName, enmStreamCmd, pszHstSts));
     485    RTStrFree(pszHstSts);
    486486#endif /* LOG_ENABLED */
    487487
     
    10571057
    10581058#ifdef LOG_ENABLED
    1059     char *pszHstFlags = dbgAudioStreamStatusToStr(pHstStream->fStatus);
    1060     Log3Func(("[%s] fStatus=%s\n", pHstStream->szName, pszHstFlags));
    1061     RTStrFree(pszHstFlags);
     1059    char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     1060    Log3Func(("[%s] fStatus=%s\n", pHstStream->szName, pszHstSts));
     1061    RTStrFree(pszHstSts);
    10621062#endif /* LOG_ENABLED */
    10631063
     
    22282228    {
    22292229        strmSts = pHstStream->fStatus;
    2230         Log3Func(("[%s] strmSts=0x%x\n", pHstStream->szName, strmSts));
     2230#ifdef LOG_ENABLED
     2231        char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     2232        Log3Func(("[%s] %s\n", pHstStream->szName, pszHstSts));
     2233        RTStrFree(pszHstSts);
     2234#endif
    22312235    }
    22322236
     
    24372441
    24382442#ifdef LOG_ENABLED
    2439     char *pszHstFlags = dbgAudioStreamStatusToStr(pHstStream->fStatus);
    2440     LogFunc(("%s: fStatus=%s\n", pHstStream->szName, pszHstFlags));
    2441     RTStrFree(pszHstFlags);
     2443    char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus);
     2444    LogFunc(("%s: fStatus=%s\n", pHstStream->szName, pszHstSts));
     2445    RTStrFree(pszHstSts);
    24422446#endif /* LOG_ENABLED */
    24432447
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