diff options
author | Chris Robinson <[email protected]> | 2018-11-15 23:41:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 23:41:09 -0800 |
commit | 78eb68a89ff3692924de0df53559b1d9ac5c4cb3 (patch) | |
tree | 4a16f34ae037d7e1e6255eb45acdfa4f8e246df7 /Alc/alc.cpp | |
parent | 2ca6119e0eb6253a5a025739f99db2031dca8c2a (diff) |
Convert the WinMM backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index c86d7260..2a443b74 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -92,6 +92,9 @@ #ifdef HAVE_DSOUND #include "backends/dsound.h" #endif +#ifdef HAVE_WINMM +#include "backends/winmm.h" +#endif #ifdef HAVE_SDL2 #include "backends/sdl2.h" #endif @@ -144,9 +147,10 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_DSOUND { "dsound", DSoundBackendFactory::getFactory }, #endif - +#ifdef HAVE_WINMM + { "winmm", WinMMBackendFactory::getFactory }, +#endif #if 0 - { "winmm", ALCwinmmBackendFactory_getFactory }, { "port", ALCportBackendFactory_getFactory }, #endif /* 0 */ #ifdef HAVE_SDL2 |