diff options
author | Chris Robinson <[email protected]> | 2018-11-15 21:53:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 21:53:14 -0800 |
commit | d4928d4e7df0517313530db63503a56e8ab63caa (patch) | |
tree | 5229f677ed099668ee83942928f1809cf40acaaa /Alc/alc.cpp | |
parent | cc113ce6aba8970cb9c111695c71400b2b8d39c3 (diff) |
Convert the Wave Writer backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index c27dd2a0..9319cfc3 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -74,6 +74,9 @@ #ifdef HAVE_OPENSL #include "backends/opensl.h" #endif +#ifdef HAVE_WAVE +#include "backends/wave.h" +#endif namespace { @@ -117,12 +120,12 @@ struct BackendInfo BackendList[] = { { "port", ALCportBackendFactory_getFactory }, { "opensl", ALCopenslBackendFactory_getFactory }, { "sdl2", ALCsdl2BackendFactory_getFactory }, - - { "null", ALCnullBackendFactory_getFactory }, - { "wave", ALCwaveBackendFactory_getFactory }, #endif /* 0 */ { "null", NullBackendFactory::getFactory }, +#ifdef HAVE_WAVE + { "wave", WaveBackendFactory::getFactory }, +#endif }; ALsizei BackendListSize = COUNTOF(BackendList); #undef EmptyFuncs |