Changeset 61033 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- May 18, 2016 12:04:13 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r60990 r61033 2151 2151 * Destroy all host input streams. 2152 2152 */ 2153 PPDMAUDIOHSTSTRM OUT pHstStrmOut = NULL;2154 while ((pHstStrmOut = drvAudioFindAnyHstOut(pThis, pHstStrmOut)))2155 { 2156 rc2 = drvAudioDestroyHst Out(pThis, pHstStrmOut);2153 PPDMAUDIOHSTSTRMIN pHstStrmIn, pHstStrmInNext; 2154 RTListForEachSafe(&pThis->lstHstStrmIn, pHstStrmIn, pHstStrmInNext, PDMAUDIOHSTSTRMIN, Node) 2155 { 2156 rc2 = drvAudioDestroyHstIn(pThis, pHstStrmIn); 2157 2157 AssertRC(rc2); 2158 2159 /* Sanity. */2160 Assert(RTListIsEmpty(&pHstStrmOut->lstGstStrmOut));2161 2162 pHstStrmOut = NULL;2163 2158 } 2164 2159 … … 2166 2161 * Destroy all host input streams. 2167 2162 */ 2168 PPDMAUDIOHSTSTRM IN pHstStrmIn = NULL;2169 while ((pHstStrmIn = drvAudioFindAnyHstIn(pThis, pHstStrmIn)))2170 { 2171 rc2 = drvAudioDestroyHst In(pThis, pHstStrmIn);2163 PPDMAUDIOHSTSTRMOUT pHstStrmOut, pHstStrmOutNext; 2164 RTListForEachSafe(&pThis->lstHstStrmOut, pHstStrmOut, pHstStrmOutNext, PDMAUDIOHSTSTRMOUT, Node) 2165 { 2166 rc2 = drvAudioDestroyHstOut(pThis, pHstStrmOut); 2172 2167 AssertRC(rc2); 2173 2174 /* Sanity. */2175 Assert(pHstStrmIn->pGstStrmIn == NULL);2176 2177 pHstStrmIn = NULL;2178 2168 } 2179 2169
Note:
See TracChangeset
for help on using the changeset viewer.