Changeset 64979 in vbox
- Timestamp:
- Dec 21, 2016 1:17:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r64970 r64979 365 365 366 366 #ifdef LOG_ENABLED 367 char *pszHst Flags = dbgAudioStreamStatusToStr(pHstStream->fStatus);368 char *pszGst Flags = dbgAudioStreamStatusToStr(pHstStream->fStatus);369 LogFlowFunc(("Status host=%s, guest=%s\n", pszHst Flags, pszGstFlags));370 RTStrFree(pszGst Flags);371 RTStrFree(pszHst Flags);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); 372 372 #endif /* LOG_ENABLED */ 373 373 … … 481 481 482 482 #ifdef LOG_ENABLED 483 char *pszHst Flags = dbgAudioStreamStatusToStr(pHstStream->fStatus);484 LogFlowFunc(("[%s] enmStreamCmd=%RU32, fStatus=%s\n", pHstStream->szName, enmStreamCmd, pszHst Flags));485 RTStrFree(pszHst Flags);483 char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 484 LogFlowFunc(("[%s] enmStreamCmd=%RU32, fStatus=%s\n", pHstStream->szName, enmStreamCmd, pszHstSts)); 485 RTStrFree(pszHstSts); 486 486 #endif /* LOG_ENABLED */ 487 487 … … 1057 1057 1058 1058 #ifdef LOG_ENABLED 1059 char *pszHst Flags = dbgAudioStreamStatusToStr(pHstStream->fStatus);1060 Log3Func(("[%s] fStatus=%s\n", pHstStream->szName, pszHst Flags));1061 RTStrFree(pszHst Flags);1059 char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 1060 Log3Func(("[%s] fStatus=%s\n", pHstStream->szName, pszHstSts)); 1061 RTStrFree(pszHstSts); 1062 1062 #endif /* LOG_ENABLED */ 1063 1063 … … 2228 2228 { 2229 2229 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 2231 2235 } 2232 2236 … … 2437 2441 2438 2442 #ifdef LOG_ENABLED 2439 char *pszHst Flags = dbgAudioStreamStatusToStr(pHstStream->fStatus);2440 LogFunc(("%s: fStatus=%s\n", pHstStream->szName, pszHst Flags));2441 RTStrFree(pszHst Flags);2443 char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 2444 LogFunc(("%s: fStatus=%s\n", pHstStream->szName, pszHstSts)); 2445 RTStrFree(pszHstSts); 2442 2446 #endif /* LOG_ENABLED */ 2443 2447
Note:
See TracChangeset
for help on using the changeset viewer.