AudioCommon: Implement WASAPI
This commit is contained in:
1 parent
92ec97f899
commit
a196dfe50d
10 files changed
+600
-7
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user