diff options
author | Chris Robinson <[email protected]> | 2018-11-15 21:42:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 21:42:17 -0800 |
commit | cc113ce6aba8970cb9c111695c71400b2b8d39c3 (patch) | |
tree | edda0c854de39fafa2612878f4025654e25d4de0 /Alc/alc.cpp | |
parent | 9d43b548cc982d6ac90ccad82990f96622e74308 (diff) |
Convert the OpenSL backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 }, |