WX: Change default sound module

Changes the default sound module from XAudio2 to Cubeb to prevent USB crashing and parity with Qt
This commit is contained in:
JordanTheToaster 2022-08-13 15:32:49 +01:00 committed by refractionpcsx2
parent cb64e8d504
commit 134cee6adc
1 changed files with 1 additions and 1 deletions

View File

@ -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());