mirror of https://github.com/PCSX2/pcsx2.git
spu2x: On linux uses by default the ALSA api when no inifile exists
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4574 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f69e165b51
commit
2abb0c0f1d
|
@ -291,7 +291,12 @@ public:
|
|||
{
|
||||
wxString api( L"EMPTYEMPTYEMPTY" );
|
||||
m_Device = L"EMPTYEMPTYEMPTY";
|
||||
#ifdef __LINUX__
|
||||
// By default on linux use the ALSA API (+99% users) -- Gregory
|
||||
CfgReadStr( L"PORTAUDIO", L"HostApi", api, L"ALSA" );
|
||||
#else
|
||||
CfgReadStr( L"PORTAUDIO", L"HostApi", api, L"Unknown" );
|
||||
#endif
|
||||
CfgReadStr( L"PORTAUDIO", L"Device", m_Device, L"default" );
|
||||
|
||||
SetApiSettings(api);
|
||||
|
|
Loading…
Reference in New Issue