mirror of https://github.com/PCSX2/pcsx2.git
spu2-x: Set default to SDL on Linux instead of portaudio, unless you don't have SDL 2.
This commit is contained in:
parent
902b88ac1a
commit
b48bc8e71c
|
@ -120,9 +120,13 @@ void ReadSettings()
|
|||
VolumeAdjustLFE = powf(10, VolumeAdjustLFEdb / 10);
|
||||
delayCycles = CfgReadInt(L"DEBUG", L"DelayCycles", 4);
|
||||
|
||||
|
||||
wxString temp;
|
||||
|
||||
#if SDL_MAJOR_VERSION >= 2
|
||||
CfgReadStr(L"OUTPUT", L"Output_Module", temp, SDLOut->GetIdent());
|
||||
#else
|
||||
CfgReadStr(L"OUTPUT", L"Output_Module", temp, PortaudioOut->GetIdent());
|
||||
#endif
|
||||
OutputModule = FindOutputModuleById(temp.c_str()); // find the driver index of this module
|
||||
|
||||
// find current API
|
||||
|
|
Loading…
Reference in New Issue