Merge pull request #23 from rkitover/master
improve OpenAL support on Mac and make it default
This commit is contained in:
commit
30801e1554
|
@ -350,7 +350,7 @@ bool OpenAL::LoadOAL()
|
|||
#else
|
||||
#ifdef __WXMAC__
|
||||
// on macosx, it's just plain OpenAL
|
||||
!Lib.Load(wxT("OpenAL"), wxDL_NOW | wxDL_VERBATIM) &&
|
||||
!Lib.Load(wxT("/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL"), wxDL_NOW | wxDL_VERBATIM) &&
|
||||
#endif
|
||||
#endif
|
||||
// on linux, it's libopenal.so
|
||||
|
|
|
@ -273,6 +273,10 @@ opts_t::opts_t()
|
|||
frameSkip = -1;
|
||||
#ifdef __WXMSW__
|
||||
audio_api = AUD_DIRECTSOUND;
|
||||
#else
|
||||
#ifdef __WXMAC__
|
||||
audio_api = AUD_OPENAL;
|
||||
#endif
|
||||
#endif
|
||||
video_scale = 3;
|
||||
retain_aspect = true;
|
||||
|
|
Loading…
Reference in New Issue