Changeset 61158 in vbox for trunk/src/VBox/Devices/Audio/DevIchHda.cpp
- Timestamp:
- May 24, 2016 12:05:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHda.cpp
r61157 r61158 3845 3845 RTListForEach(&pThis->lstDrv, pDrv, HDADRIVER, Node) 3846 3846 { 3847 PAUDMIXSTREAM pMixStream ;3847 PAUDMIXSTREAM pMixStream = NULL; 3848 3848 switch (enmMixerCtl) 3849 3849 { … … 3883 3883 } 3884 3884 3885 AudioMixerSinkRemoveStream(pSink->pMixSink, pMixStream); 3886 AudioMixerStreamDestroy(pMixStream); 3885 if (pMixStream) 3886 { 3887 AudioMixerSinkRemoveStream(pSink->pMixSink, pMixStream); 3888 AudioMixerStreamDestroy(pMixStream); 3889 } 3887 3890 } 3888 3891 … … 4245 4248 } 4246 4249 4247 uint32_t cbProcessed ;4250 uint32_t cbProcessed = 0; 4248 4251 if (hdaGetDirFromSD(pStream->u8SD) == PDMAUDIODIR_IN) 4249 4252 rc = hdaReadAudio (pThis, pStream, cbLeft, &cbProcessed);
Note:
See TracChangeset
for help on using the changeset viewer.