Changeset 75422 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Nov 13, 2018 1:01:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r75317 r75422 1979 1979 switch (pCfg->DestSource.Source) 1980 1980 { 1981 case PDMAUDIORECSOURCE_LINE: enmMixerCtl = PDMAUDIOMIXERCTL_LINE_IN; break; 1981 case PDMAUDIORECSOURCE_UNKNOWN: break; 1982 case PDMAUDIORECSOURCE_LINE: enmMixerCtl = PDMAUDIOMIXERCTL_LINE_IN; break; 1982 1983 # ifdef VBOX_WITH_AUDIO_HDA_MIC_IN 1983 case PDMAUDIORECSOURCE_MIC: enmMixerCtl = PDMAUDIOMIXERCTL_MIC_IN; break;1984 case PDMAUDIORECSOURCE_MIC: enmMixerCtl = PDMAUDIOMIXERCTL_MIC_IN; break; 1984 1985 # endif 1985 1986 default: … … 1997 1998 switch (pCfg->DestSource.Dest) 1998 1999 { 2000 case PDMAUDIOPLAYBACKDEST_UNKNOWN: break; 1999 2001 case PDMAUDIOPLAYBACKDEST_FRONT: enmMixerCtl = PDMAUDIOMIXERCTL_FRONT; break; 2000 2002 # ifdef VBOX_WITH_AUDIO_HDA_51_SURROUND … … 2014 2016 } 2015 2017 2016 if (RT_SUCCESS(rc)) 2018 if ( RT_SUCCESS(rc) 2019 && enmMixerCtl != PDMAUDIOMIXERCTL_UNKNOWN) 2020 { 2017 2021 rc = hdaCodecRemoveStream(pThis->pCodec, enmMixerCtl); 2022 } 2018 2023 2019 2024 LogFlowFuncLeaveRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.