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

@ -22,14 +22,14 @@ enum class Language;
enum class Region;
struct Partition;
class Volume;
}
} // namespace DiscIO
namespace IOS
{
namespace ES
{
class TMDReader;
}
}
} // namespace IOS
// DSP Backend Types
#define BACKEND_NULLSOUND _trans("No Audio Output")
@ -39,6 +39,7 @@ class TMDReader;
#define BACKEND_PULSEAUDIO "Pulse"
#define BACKEND_XAUDIO2 "XAudio2"
#define BACKEND_OPENSLES "OpenSLES"
#define BACKEND_WASAPI "WASAPI (Exclusive Mode)"
enum GPUDeterminismMode
{
@ -298,6 +299,11 @@ struct SConfig
int m_Volume;
std::string sBackend;
#ifdef _WIN32
// WSAPI settings
std::string sWASAPIDevice;
#endif
// Input settings
bool m_BackgroundInput;
bool m_AdapterRumble[4];