Don't call log10 with values too close to 0
[openal-soft.git] / alc / backends / dsound.h
blob33adbf2971fe15a8c19c45cd910350b7364aa3c8
1 #ifndef BACKENDS_DSOUND_H
2 #define BACKENDS_DSOUND_H
4 #include "base.h"
6 struct DSoundBackendFactory 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_DSOUND_H */