diff options
author | Chris Robinson <[email protected]> | 2018-11-15 23:02:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 23:02:26 -0800 |
commit | c78b42fb4e49a431e8c0b7b7ff8da0102e1aeb5d (patch) | |
tree | c483cdaa95cb41b8a9c6b271ed6c35c3dbb52add /Alc/backends/oss.h | |
parent | 7884cec02b62605cbc046f2311bf3f3b35e20777 (diff) |
Convert the OSS backend factory
Diffstat (limited to 'Alc/backends/oss.h')
-rw-r--r-- | Alc/backends/oss.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/oss.h b/Alc/backends/oss.h new file mode 100644 index 00000000..c3865d84 --- /dev/null +++ b/Alc/backends/oss.h @@ -0,0 +1,20 @@ +#ifndef BACKENDS_OSS_H +#define BACKENDS_OSS_H + +#include "backends/base.h" + +struct OSSBackendFactory 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_OSS_H */ |