Changeset 88908 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 6, 2021 4:35:40 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHda.cpp
r88905 r88908 2364 2364 pDrv->uLUN, StreamCfg.szName, rc)); 2365 2365 } 2366 } 2367 /** @todo r=bird: We are missing cleanup code here! */ 2366 if (RT_FAILURE(rc)) 2367 AudioMixerSinkRemoveStream(pMixSink, pMixStrm); 2368 } 2369 if (RT_FAILURE(rc)) 2370 AudioMixerStreamDestroy(pMixStrm, pDevIns); 2368 2371 } 2369 2372 -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r88906 r88908 1902 1902 pDrv->uLUN, pStreamCfg->szName, rc)); 1903 1903 } 1904 /** @todo r=bird: see below. */1905 1904 if (RT_FAILURE(rc)) 1906 1905 AudioMixerSinkRemoveStream(pMixSink, pMixStrm); 1907 1906 } 1908 /** @todo r=bird: I've added this destroy stuff here, because if it looks as if1909 * you just drop the stream if the AudioMixerSinkAddStream fails for some1910 * reason. This is definitely true if AudioMixerSinkSetRecordingSource fails1911 * above, because it leads to duplicate statistics when starting XP with ICH971912 * and VRDP enabled. Looks like the VRDP line-in fails with1913 * VERR_AUDIO_STREAM_NOT_READY when configured for 8000HZ, then it asserts in1914 * STAM when 48000Hz is configured right afterwards. */1915 1907 if (RT_FAILURE(rc)) 1916 1908 AudioMixerStreamDestroy(pMixStrm, pDevIns); -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r88906 r88908 2008 2008 rc = AudioMixerSinkAddStream(pMixSink, pMixStrm); 2009 2009 LogFlowFunc(("LUN#%RU8: Added stream \"%s\" to sink, rc=%Rrc\n", pDrv->uLUN, pStreamCfg->szName, rc)); 2010 2011 2010 if (RT_SUCCESS(rc)) 2012 {2013 2011 pDrvStream->pMixStrm = pMixStrm; 2014 }2015 2012 else 2016 2013 AudioMixerStreamDestroy(pMixStrm, pDevIns);
Note:
See TracChangeset
for help on using the changeset viewer.