Don't call log10 with values too close to 0
[openal-soft.git] / alc / backends / opensl.h
blob9f13dd71f9d0969a22c7b80eff8511f744b2adc0
1 #ifndef BACKENDS_OSL_H
2 #define BACKENDS_OSL_H
4 #include "base.h"
6 struct OSLBackendFactory final : public BackendFactory {
7 public:
8 auto init() -> bool final;
10 auto querySupport(BackendType type) -> bool final;
12 auto enumerate(BackendType type) -> std::vector<std::string> final;
14 auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
16 static auto getFactory() -> BackendFactory&;
19 #endif /* BACKENDS_OSL_H */