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:
ramapcsx2 2015-12-20 14:46:59 +01:00
parent 9170d2902c
commit 43b9caf735
2 changed files with 9 additions and 6 deletions

View File

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

View File

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