diff options
author | Chris Robinson <[email protected]> | 2018-11-15 23:10:06 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 23:10:06 -0800 |
commit | 5dc1956e18007fe910039487ef5d847bbb72ede0 (patch) | |
tree | a72a5bf20142581d1b99e005c8918a0576d5f157 /Alc/backends/qsa.h | |
parent | c78b42fb4e49a431e8c0b7b7ff8da0102e1aeb5d (diff) |
Convert the QSA backend factory
Diffstat (limited to 'Alc/backends/qsa.h')
-rw-r--r-- | Alc/backends/qsa.h | 20 |
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 */ |