aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 21:53:14 -0800
committerChris Robinson <[email protected]>2018-11-15 21:53:14 -0800
commitd4928d4e7df0517313530db63503a56e8ab63caa (patch)
tree5229f677ed099668ee83942928f1809cf40acaaa /Alc/alc.cpp
parentcc113ce6aba8970cb9c111695c71400b2b8d39c3 (diff)
Convert the Wave Writer backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp9
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