summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-03-31 03:58:47 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-03-31 03:58:47 +0000
commitccdec4308aa194358eff135f9d647ed2378cca1b (patch)
tree273cde7b43b784b35d7515f868eed060f03e9e26 /Source/Core
parentcaf1395f5ebb906524176a0b82971b7b7ed71264 (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp4
-rw-r--r--Source/Core/Common/Src/Common.h2
2 files changed, 5 insertions, 1 deletions
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
{