aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/pipewire.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/pipewire.h')
-rw-r--r--alc/backends/pipewire.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/alc/backends/pipewire.h b/alc/backends/pipewire.h
new file mode 100644
index 00000000..5f930239
--- /dev/null
+++ b/alc/backends/pipewire.h
@@ -0,0 +1,23 @@
+#ifndef BACKENDS_PIPEWIRE_H
+#define BACKENDS_PIPEWIRE_H
+
+#include <string>
+
+#include "base.h"
+
+struct DeviceBase;
+
+struct PipeWireBackendFactory final : public BackendFactory {
+public:
+ bool init() override;
+
+ bool querySupport(BackendType type) override;
+
+ std::string probe(BackendType type) override;
+
+ BackendPtr createBackend(DeviceBase *device, BackendType type) override;
+
+ static BackendFactory &getFactory();
+};
+
+#endif /* BACKENDS_PIPEWIRE_H */