From d4928d4e7df0517313530db63503a56e8ab63caa Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 21:53:14 -0800 Subject: Convert the Wave Writer backend factory --- Alc/alc.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Alc/alc.cpp') 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 -- cgit v1.2.3