Changeset 82988 in vbox
- Timestamp:
- Feb 5, 2020 11:10:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r82968 r82988 1855 1855 { 1856 1856 /* If this is an input stream, always set the latest (added) stream 1857 * as the recording source. 1858 1857 * as the recording source. */ 1858 /** @todo Make the recording source dynamic (CFGM?). */ 1859 1859 if (pStreamCfg->enmDir == PDMAUDIODIR_IN) 1860 1860 { … … 1880 1880 pDrv->uLUN, pStreamCfg->szName, rc)); 1881 1881 } 1882 /** @todo r=bird: see below. */ 1883 if (RT_FAILURE(rc)) 1884 AudioMixerSinkRemoveStream(pMixSink, pMixStrm); 1882 1885 } 1886 /** @todo r=bird: I've added this destroy stuff here, because if it looks as if 1887 * you just drop the stream if the AudioMixerSinkAddStream fails for some 1888 * reason. This is definitely true if AudioMixerSinkSetRecordingSource fails 1889 * above, because it leads to duplicate statistics when starting XP with ICH97 1890 * and VRDP enabled. Looks like the VRDP line-in fails with 1891 * VERR_AUDIO_STREAM_NOT_READY when configured for 8000HZ, then it asserts in 1892 * STAM when 48000Hz is configured right afterwards. */ 1893 if (RT_FAILURE(rc)) 1894 AudioMixerStreamDestroy(pMixStrm); 1883 1895 } 1884 1896
Note:
See TracChangeset
for help on using the changeset viewer.