diff options
author | Chris Robinson <[email protected]> | 2018-11-15 21:33:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 21:33:44 -0800 |
commit | 9d43b548cc982d6ac90ccad82990f96622e74308 (patch) | |
tree | 564a1d8c800f604802decff951f5a5827ee61478 /Alc/backends/alsa.h | |
parent | ead830814b95f137fa4d51ebf91b353a823f4e30 (diff) |
Convert the ALSA backend factory
Diffstat (limited to 'Alc/backends/alsa.h')
-rw-r--r-- | Alc/backends/alsa.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/alsa.h b/Alc/backends/alsa.h new file mode 100644 index 00000000..3f772115 --- /dev/null +++ b/Alc/backends/alsa.h @@ -0,0 +1,20 @@ +#ifndef BACKENDS_ALSA_H +#define BACKENDS_ALSA_H + +#include "backends/base.h" + +struct AlsaBackendFactory 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_ALSA_H */ |