diff options
| author | hyperiris <hyperiris@gmail.com> | 2009-03-27 15:24:22 +0000 |
|---|---|---|
| committer | hyperiris <hyperiris@gmail.com> | 2009-03-27 15:24:22 +0000 |
| commit | 13ddd0648bec01dd2819d5b84a16b7aac92bc439 (patch) | |
| tree | 3bd2f30bfbed083634d1e1236c98132cd6b01f51 /Source/Core/AudioCommon/Src/AudioCommon.cpp | |
| parent | a5db816490e8ae95f4aa64256e92018b509e0476 (diff) | |
yeah, start OpenAL sound output
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2764 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/AudioCommon/Src/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/AudioCommon.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/AudioCommon.cpp b/Source/Core/AudioCommon/Src/AudioCommon.cpp index bc3d30c25f..e703e55686 100644 --- a/Source/Core/AudioCommon/Src/AudioCommon.cpp +++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp @@ -3,7 +3,7 @@ #include "AOSoundStream.h" #include "DSoundStream.h" #include "NullSoundStream.h" - +#include "OpenALStream.h" namespace AudioCommon { @@ -21,6 +21,10 @@ SoundStream *InitSoundStream(std::string backend, CMixer *mixer) { if (AOSound::isValid()) soundStream = new AOSound(mixer); } + else if (backend == "OpenAL") { + if (OpenALStream::isValid()) + soundStream = new OpenALStream(mixer); + } else if (backend == "NullSound") { soundStream = new NullSound(mixer); } |
