From 2ca6119e0eb6253a5a025739f99db2031dca8c2a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 23:32:28 -0800 Subject: Convert the DSound backend factory --- Alc/alc.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Alc/alc.cpp') 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 */ -- cgit v1.2.3