diff options
author | Chris Robinson <[email protected]> | 2018-11-15 19:42:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 19:42:13 -0800 |
commit | 4311c609e48d954e8fde9b6c3bf8077cfac8efa0 (patch) | |
tree | e3a584cd527ae99b0fdde173b583659b4fac836a /Alc/backends/loopback.h | |
parent | 49d8ac2537a03dd8d1a60fa4667dc6090da6bcc5 (diff) |
Update the loopback backend
Diffstat (limited to 'Alc/backends/loopback.h')
-rw-r--r-- | Alc/backends/loopback.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/loopback.h b/Alc/backends/loopback.h new file mode 100644 index 00000000..68f33a5c --- /dev/null +++ b/Alc/backends/loopback.h @@ -0,0 +1,20 @@ +#ifndef BACKENDS_LOOPBACK_H +#define BACKENDS_LOOPBACK_H + +#include "backends/base.h" + +struct LoopbackBackendFactory 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_LOOPBACK_H */ |