2018-11-15 21:42:17 -08:00
|
|
|
#ifndef BACKENDS_OSL_H
|
|
|
|
#define BACKENDS_OSL_H
|
|
|
|
|
|
|
|
#include "backends/base.h"
|
|
|
|
|
|
|
|
struct OSLBackendFactory final : public BackendFactory {
|
|
|
|
public:
|
|
|
|
bool init() override;
|
|
|
|
/*void deinit() override;*/
|
|
|
|
|
|
|
|
bool querySupport(ALCbackend_Type type) override;
|
|
|
|
|
2018-12-24 19:29:01 -08:00
|
|
|
void probe(DevProbe type, std::string *outnames) override;
|
2018-11-15 21:42:17 -08:00
|
|
|
|
2018-12-28 22:56:20 -08:00
|
|
|
BackendBase *createBackend(ALCdevice *device, ALCbackend_Type type) override;
|
2018-11-15 21:42:17 -08:00
|
|
|
|
|
|
|
static BackendFactory &getFactory();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BACKENDS_OSL_H */
|