summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AudioCommon.cpp
diff options
context:
space:
mode:
authoromegadox <omegadox@gmail.com>2009-03-28 09:25:20 +0000
committeromegadox <omegadox@gmail.com>2009-03-28 09:25:20 +0000
commit87665f18e513f20fc5aa3c89c228eabe2d0d755f (patch)
treea24d3a076d20552c27eaeefac64d78c7b858e5c9 /Source/Core/AudioCommon/Src/AudioCommon.cpp
parent32f4e8231aff57bd0b8b4c43e28f9211bf721fc5 (diff)
Another linux fix with AudioCommon.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2772 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/AudioCommon/Src/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/AudioCommon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/Src/AudioCommon.cpp b/Source/Core/AudioCommon/Src/AudioCommon.cpp
index 28fb2dcac0..c8228b6a0c 100644
--- a/Source/Core/AudioCommon/Src/AudioCommon.cpp
+++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp
@@ -33,8 +33,10 @@ SoundStream *InitSoundStream(std::string backend, CMixer *mixer) {
}
if (backend == "DSound") {
+#ifdef _DSOUNDSTREAM_H_
if (DSound::isValid())
soundStream = new DSound(mixer, g_dspInitialize.hWnd);
+#endif
}
else if (backend == "AOSound") {
if (AOSound::isValid())