diff options
author | Chris Robinson <[email protected]> | 2018-11-15 21:33:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 21:33:44 -0800 |
commit | 9d43b548cc982d6ac90ccad82990f96622e74308 (patch) | |
tree | 564a1d8c800f604802decff951f5a5827ee61478 /Alc/alc.cpp | |
parent | ead830814b95f137fa4d51ebf91b353a823f4e30 (diff) |
Convert the ALSA 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 d4e2dda5..0e61385a 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -62,6 +62,9 @@ #ifdef HAVE_PULSEAUDIO #include "backends/pulseaudio.h" #endif +#ifdef HAVE_ALSA +#include "backends/alsa.h" +#endif #ifdef HAVE_WASAPI #include "backends/wasapi.h" #endif @@ -84,6 +87,9 @@ struct BackendInfo BackendList[] = { #ifdef HAVE_PULSEAUDIO { "pulse", PulseBackendFactory::getFactory }, #endif +#ifdef HAVE_ALSA + { "alsa", AlsaBackendFactory::getFactory }, +#endif #ifdef HAVE_WASAPI { "wasapi", WasapiBackendFactory::getFactory }, #endif |