From d5c9c6bac7a4b4f17686f6e492aa5f7616784e7c Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Wed, 28 Feb 2018 17:53:55 -0500 Subject: [PATCH] change default audio driver to SDL A Linux user (Eleuin) has reported menu lockups with the default OpenAL (probably thread related) and no lockups with SDL. A Windows user has reported popping noises with all audio drivers except SDL (#178). Change the audio driver default to SDL for the time being until these issues can be looked into. --- src/wx/opts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/opts.cpp b/src/wx/opts.cpp index 2abb83bd..fe29a2d4 100644 --- a/src/wx/opts.cpp +++ b/src/wx/opts.cpp @@ -279,9 +279,9 @@ opts_t::opts_t() { frameSkip = -1; #ifdef __WXMSW__ - audio_api = AUD_DIRECTSOUND; + audio_api = AUD_SDL; #elif !defined(NO_OAL) && (defined(__WXMAC__) || defined(__WXGTK__)) - audio_api = AUD_OPENAL; + audio_api = AUD_SDL; #endif #ifndef NO_OGL render_method = RND_OPENGL;