diff options
author | Chris Robinson <[email protected]> | 2018-11-15 22:23:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 22:23:29 -0800 |
commit | 271cfcf8e31d06dca259a436251b70f5ffa882be (patch) | |
tree | 5439ff1f85aad9786bbbe63a953cbabc13486de3 /Alc/alc.cpp | |
parent | d73d01548d992f6f683f6685ff8f4767e8843ad9 (diff) |
Convert the Solaris 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 63f60e80..89385888 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -77,6 +77,9 @@ #ifdef HAVE_OPENSL #include "backends/opensl.h" #endif +#ifdef HAVE_SOLARIS +#include "backends/solaris.h" +#endif #ifdef HAVE_SDL2 #include "backends/sdl2.h" #endif @@ -114,13 +117,14 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_OPENSL { "opensl", OSLBackendFactory::getFactory }, #endif +#ifdef HAVE_SOLARIS + { "solaris", SolarisBackendFactory::getFactory }, +#endif #if 0 - { "solaris", ALCsolarisBackendFactory_getFactory }, { "sndio", SndioBackendFactory_getFactory }, { "oss", ALCossBackendFactory_getFactory }, { "qsa", ALCqsaBackendFactory_getFactory }, - { "wasapi", ALCwasapiBackendFactory_getFactory }, { "dsound", ALCdsoundBackendFactory_getFactory }, { "winmm", ALCwinmmBackendFactory_getFactory }, { "port", ALCportBackendFactory_getFactory }, |