aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-08-02 21:03:18 -0700
committerChris Robinson <[email protected]>2021-08-02 21:03:18 -0700
commit4cc820bb5c4c3c93ec85fed5a5bf7978b6bd14b1 (patch)
treefaba9ec1b8ebed96eba03b6c70f8c244394d4a96 /alc/alc.cpp
parent0a0849db997df2015223bfd43cb7490fc8cd601e (diff)
Start a PipeWire backend
It's just a copy of the Null backend to start with
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 8c09e474..c3bbdf29 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -106,6 +106,9 @@
#include "backends/base.h"
#include "backends/null.h"
#include "backends/loopback.h"
+#ifdef HAVE_PIPEWIRE
+#include "backends/pipewire.h"
+#endif
#ifdef HAVE_JACK
#include "backends/jack.h"
#endif
@@ -240,6 +243,9 @@ BackendInfo BackendList[] = {
{ "sdl2", SDL2BackendFactory::getFactory },
#endif
+#ifdef HAVE_PIPEWIRE
+ { "pipewire", PipeWireBackendFactory::getFactory },
+#endif
{ "null", NullBackendFactory::getFactory },
#ifdef HAVE_WAVE
{ "wave", WaveBackendFactory::getFactory },