summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AudioCommon.cpp
diff options
context:
space:
mode:
authoromegadox <omegadox@gmail.com>2009-03-28 09:26:55 +0000
committeromegadox <omegadox@gmail.com>2009-03-28 09:26:55 +0000
commit881678540d7f4599cdca07a5edc525799802d6b2 (patch)
tree4a430aedec1002fadfc8154fe18aa9ec85fa80a7 /Source/Core/AudioCommon/Src/AudioCommon.cpp
parent87665f18e513f20fc5aa3c89c228eabe2d0d755f (diff)
Another linux fix with AudioCommon.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2773 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 c8228b6a0c..b6bc81cf09 100644
--- a/Source/Core/AudioCommon/Src/AudioCommon.cpp
+++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp
@@ -94,8 +94,10 @@ void ShutdownSoundStream() {
std::vector<std::string> GetSoundBackends() {
std::vector<std::string> backends;
// Add avaliable output options
+#ifdef _DSOUNDSTREAM_H_
if (DSound::isValid())
backends.push_back("DSound");
+#endif
if (AOSound::isValid())
backends.push_back("AOSound");
if (OpenALStream::isValid())