aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/qsa.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 23:10:06 -0800
committerChris Robinson <[email protected]>2018-11-15 23:10:06 -0800
commit5dc1956e18007fe910039487ef5d847bbb72ede0 (patch)
treea72a5bf20142581d1b99e005c8918a0576d5f157 /Alc/backends/qsa.h
parentc78b42fb4e49a431e8c0b7b7ff8da0102e1aeb5d (diff)
Convert the QSA backend factory
Diffstat (limited to 'Alc/backends/qsa.h')
-rw-r--r--Alc/backends/qsa.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/qsa.h b/Alc/backends/qsa.h
new file mode 100644
index 00000000..c4941392
--- /dev/null
+++ b/Alc/backends/qsa.h
@@ -0,0 +1,20 @@
+#ifndef BACKENDS_QSA_H
+#define BACKENDS_QSA_H
+
+#include "backends/base.h"
+
+struct QSABackendFactory final : public BackendFactory {
+public:
+ bool init() override;
+ void deinit() override;
+
+ bool querySupport(ALCbackend_Type type) override;
+
+ void probe(enum DevProbe type, std::string *outnames) override;
+
+ ALCbackend *createBackend(ALCdevice *device, ALCbackend_Type type) override;
+
+ static BackendFactory &getFactory();
+};
+
+#endif /* BACKENDS_QSA_H */