From ccdec4308aa194358eff135f9d647ed2378cca1b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 31 Mar 2009 03:58:47 +0000 Subject: [PATCH] really fix building without OAL, and disable it (for time being i guess) on windows...crazy non-static libs no one wants to deal with git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2811 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/OpenALStream.cpp | 4 ++++ Source/Core/Common/Src/Common.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index 29b5f8f08d..39cf4d25ea 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -18,6 +18,8 @@ #include "aldlist.h" #include "OpenALStream.h" +#if defined HAVE_OPENAL && HAVE_OPENAL + #define AUDIO_NUMBUFFERS (4) bool OpenALStream::Start() @@ -105,3 +107,5 @@ void OpenALStream::SoundLoop() soundSyncEvent.Wait(); } } + +#endif //HAVE_OPENAL diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h index 50ec42e73a..096776389d 100644 --- a/Source/Core/Common/Src/Common.h +++ b/Source/Core/Common/Src/Common.h @@ -82,7 +82,7 @@ // Since they are always around on windows #define HAVE_WIIUSE 1 #define HAVE_WX 1 - #define HAVE_OPENAL 1 +// #define HAVE_OPENAL 1 namespace {