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 {