From 134cee6adc6f761519b510e15172e3ee1065c7ea Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sat, 13 Aug 2022 15:32:49 +0100 Subject: [PATCH] WX: Change default sound module Changes the default sound module from XAudio2 to Cubeb to prevent USB crashing and parity with Qt --- pcsx2/SPU2/Windows/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/SPU2/Windows/Config.cpp b/pcsx2/SPU2/Windows/Config.cpp index c71e13971c..286a544c71 100644 --- a/pcsx2/SPU2/Windows/Config.cpp +++ b/pcsx2/SPU2/Windows/Config.cpp @@ -118,7 +118,7 @@ void ReadSettings() // Let's use xaudio2 until this is sorted (rama). // CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, PortaudioOut->GetIdent()); - CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, StringUtil::UTF8StringToWideString(XAudio2Out->GetIdent()).c_str()); + CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, StringUtil::UTF8StringToWideString(CubebOut->GetIdent()).c_str()); // Find the driver index of this module: OutputModule = FindOutputModuleById(StringUtil::WideStringToUTF8String(omodid).c_str());