AudioCommon: Implement WASAPI

This commit is contained in:
spycrab 2018-02-10 21:03:27 +01:00
parent 92ec97f899
commit a196dfe50d
10 changed files with 600 additions and 7 deletions

View file

@ -292,6 +292,10 @@ void SConfig::SaveDSPSettings(IniFile& ini)
dsp->Set("Backend", sBackend);
dsp->Set("Volume", m_Volume);
dsp->Set("CaptureLog", m_DSPCaptureLog);
#ifdef _WIN32
dsp->Set("WASAPIDevice", sWASAPIDevice);
#endif
}
void SConfig::SaveInputSettings(IniFile& ini)
@ -589,6 +593,10 @@ void SConfig::LoadDSPSettings(IniFile& ini)
dsp->Get("Volume", &m_Volume, 100);
dsp->Get("CaptureLog", &m_DSPCaptureLog, false);
#ifdef _WIN32
dsp->Get("WASAPIDevice", &sWASAPIDevice, "default");
#endif
m_IsMuted = false;
}