mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
AudioCommon: Implement WASAPI
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user