aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 21:33:44 -0800
committerChris Robinson <[email protected]>2018-11-15 21:33:44 -0800
commit9d43b548cc982d6ac90ccad82990f96622e74308 (patch)
tree564a1d8c800f604802decff951f5a5827ee61478 /Alc/alc.cpp
parentead830814b95f137fa4d51ebf91b353a823f4e30 (diff)
Convert the ALSA backend factory
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp6
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