From cc113ce6aba8970cb9c111695c71400b2b8d39c3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 21:42:17 -0800 Subject: Convert the OpenSL backend factory --- Alc/alc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Alc/alc.cpp') diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 0e61385a..c27dd2a0 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -71,6 +71,9 @@ #ifdef HAVE_COREAUDIO #include "backends/coreaudio.h" #endif +#ifdef HAVE_OPENSL +#include "backends/opensl.h" +#endif namespace { @@ -96,6 +99,9 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_COREAUDIO { "core", CoreAudioBackendFactory::getFactory }, #endif +#ifdef HAVE_OPENSL + { "opensl", OSLBackendFactory::getFactory }, +#endif #if 0 { "jack", ALCjackBackendFactory_getFactory }, { "pulse", ALCpulseBackendFactory_getFactory }, -- cgit v1.2.3