diff options
author | Chris Robinson <[email protected]> | 2018-11-15 21:24:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 21:24:09 -0800 |
commit | ead830814b95f137fa4d51ebf91b353a823f4e30 (patch) | |
tree | ad11f9312d5e6032831a8b50c823640e8fb2c18e /Alc/backends/coreaudio.h | |
parent | b1fb2e9e142e362ab78c961f8d1069f012b1ece3 (diff) |
Convert the CoreAudio backend factory
Diffstat (limited to 'Alc/backends/coreaudio.h')
-rw-r--r-- | Alc/backends/coreaudio.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Alc/backends/coreaudio.h b/Alc/backends/coreaudio.h new file mode 100644 index 00000000..2926ee12 --- /dev/null +++ b/Alc/backends/coreaudio.h @@ -0,0 +1,20 @@ +#ifndef BACKENDS_COREAUDIO_H +#define BACKENDS_COREAUDIO_H + +#include "backends/base.h" + +struct CoreAudioBackendFactory 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_COREAUDIO_H */ |