mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-21 09:18:18 +00:00
GSdx: default renderer to DX11 hw. SPU2-X: default output module to xaudio2 (portaudio has issues selecting the proper hardware device)
This commit is contained in:
parent
9170d2902c
commit
43b9caf735
@ -240,7 +240,7 @@ enum class GSRendererType : int8_t
|
||||
OGL_OpenCL = 17,
|
||||
|
||||
#ifdef _WINDOWS
|
||||
Default = DX9_HW
|
||||
Default = DX1011_HW
|
||||
#else
|
||||
// Use ogl renderer as default otherwise it crash at startup
|
||||
// GSRenderOGL only GSDeviceOGL (not GSDeviceNULL)
|
||||
|
@ -137,12 +137,15 @@ void ReadSettings()
|
||||
|
||||
wchar_t omodid[128];
|
||||
|
||||
if ( IsVistaOrGreater2() ) { // XA2 for WinXP, morder modern gets Portaudio
|
||||
CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, PortaudioOut->GetIdent());
|
||||
}
|
||||
else {
|
||||
// portaudio occasionally has issues selecting the proper default audio device.
|
||||
// let's use xaudio2 until this is sorted (rama)
|
||||
|
||||
// if ( IsVistaOrGreater2() ) { // XA2 for WinXP, morder modern gets Portaudio
|
||||
// CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, PortaudioOut->GetIdent());
|
||||
// }
|
||||
// else {
|
||||
CfgReadStr(L"OUTPUT", L"Output_Module", omodid, 127, XAudio2Out->GetIdent());
|
||||
}
|
||||
// }
|
||||
|
||||
// find the driver index of this module:
|
||||
OutputModule = FindOutputModuleById( omodid );
|
||||
|
Loading…
Reference in New Issue
Block a user