diff options
author | Chris Robinson <[email protected]> | 2018-11-15 23:32:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 23:32:28 -0800 |
commit | 2ca6119e0eb6253a5a025739f99db2031dca8c2a (patch) | |
tree | a844dcd789d10d06ce1e2d05dde8a5c091a1a18b /Alc/alc.cpp | |
parent | 5dc1956e18007fe910039487ef5d847bbb72ede0 (diff) |
Convert the DSound backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 00442458..c86d7260 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -89,6 +89,9 @@ #ifdef HAVE_QSA #include "backends/qsa.h" #endif +#ifdef HAVE_DSOUND +#include "backends/dsound.h" +#endif #ifdef HAVE_SDL2 #include "backends/sdl2.h" #endif @@ -138,9 +141,11 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_QSA { "qsa", QSABackendFactory::getFactory }, #endif +#ifdef HAVE_DSOUND + { "dsound", DSoundBackendFactory::getFactory }, +#endif #if 0 - { "dsound", ALCdsoundBackendFactory_getFactory }, { "winmm", ALCwinmmBackendFactory_getFactory }, { "port", ALCportBackendFactory_getFactory }, #endif /* 0 */ |