Changeset 70910 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Feb 8, 2018 12:37:31 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r70907 r70910 138 138 # endif /* unused */ 139 139 140 #if defined(VBOX_STRICT) || defined(LOG_ENABLED)140 #ifdef LOG_ENABLED 141 141 /** 142 142 * Converts an audio stream status to a string. … … 3122 3122 int rc = VINF_SUCCESS; 3123 3123 3124 #ifdef VBOX_STRICT3124 #ifdef LOG_ENABLED 3125 3125 char *pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 3126 3126 LogFunc(("[%s] fStatus=%s\n", pHstStream->szName, pszHstSts)); … … 3138 3138 pHstStream->fStatus &= ~PDMAUDIOSTREAMSTS_FLAG_INITIALIZED; 3139 3139 3140 #ifdef VBOX_STRICT 3141 pszHstSts = dbgAudioStreamStatusToStr(pHstStream->fStatus); 3142 AssertMsg(pHstStream->fStatus == PDMAUDIOSTREAMSTS_FLAG_NONE, 3143 ("Stream '%s' still has %s set when destroying, must close properly first\n", 3144 pHstStream->szName, pszHstSts)); 3145 RTStrFree(pszHstSts); 3140 #ifdef LOG_ENABLED 3141 /* This is not fatal, but log it anyway. */ 3142 if (pHstStream->fStatus != PDMAUDIOSTREAMSTS_FLAG_NONE) 3143 LogFunc(("[%s] Warning: Stream still has %s set when destroying, must properly drain first\n", 3144 pHstStream->szName, pszHstSts)); 3146 3145 #endif 3147 3146 }
Note:
See TracChangeset
for help on using the changeset viewer.