diff options
author | Chris Robinson <[email protected]> | 2018-11-15 23:02:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 23:02:26 -0800 |
commit | c78b42fb4e49a431e8c0b7b7ff8da0102e1aeb5d (patch) | |
tree | c483cdaa95cb41b8a9c6b271ed6c35c3dbb52add /Alc/alc.cpp | |
parent | 7884cec02b62605cbc046f2311bf3f3b35e20777 (diff) |
Convert the OSS backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 8a16eb28..78fa0d9c 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -83,6 +83,9 @@ #ifdef HAVE_SNDIO #include "backends/sndio.h" #endif +#ifdef HAVE_OSS +#include "backends/oss.h" +#endif #ifdef HAVE_SDL2 #include "backends/sdl2.h" #endif @@ -126,9 +129,11 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_SNDIO { "sndio", SndIOBackendFactory::getFactory }, #endif +#ifdef HAVE_OSS + { "oss", OSSBackendFactory::getFactory }, +#endif #if 0 - { "oss", ALCossBackendFactory_getFactory }, { "qsa", ALCqsaBackendFactory_getFactory }, { "dsound", ALCdsoundBackendFactory_getFactory }, { "winmm", ALCwinmmBackendFactory_getFactory }, |