summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
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/AudioCommon
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/AudioCommon')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp4
1 files changed, 4 insertions, 0 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