Disable auto-loading the directshow filter by default as it's unstable. Add new INI setting [Sound] AutoLoadDShow to turn it back on.

This commit is contained in:
Henrik Rydgard committed 2013-05-25 17:01:18 +02:00
1 parent b128ebd554
commit 2ef4a05a49
3 files changed
+10 -3

No files matched your search

+2
View File
@@ -126,6 +126,7 @@ void Config::Load(const char *iniFileName)
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
sound->Get("AutoLoadDShow", &bAutoLoadDShow, false);
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Get("ShowStick", &bShowAnalogStick, false);
@@ -215,6 +216,7 @@ void Config::Save()
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);
sound->Set("AutoLoadDShow", bAutoLoadDShow);
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Set("ShowStick", bShowAnalogStick);