mirror of https://github.com/axmolengine/axmol.git
20 lines
431 B
C
20 lines
431 B
C
|
#ifndef BACKENDS_DSOUND_H
|
||
|
#define BACKENDS_DSOUND_H
|
||
|
|
||
|
#include "backends/base.h"
|
||
|
|
||
|
struct DSoundBackendFactory final : public BackendFactory {
|
||
|
public:
|
||
|
bool init() override;
|
||
|
|
||
|
bool querySupport(BackendType type) override;
|
||
|
|
||
|
std::string probe(BackendType type) override;
|
||
|
|
||
|
BackendPtr createBackend(ALCdevice *device, BackendType type) override;
|
||
|
|
||
|
static BackendFactory &getFactory();
|
||
|
};
|
||
|
|
||
|
#endif /* BACKENDS_DSOUND_H */
|