2021-04-28 12:43:51 +08:00
|
|
|
#ifndef BACKENDS_DSOUND_H
|
|
|
|
#define BACKENDS_DSOUND_H
|
|
|
|
|
2021-05-14 10:15:42 +08:00
|
|
|
#include "base.h"
|
2021-04-28 12:43:51 +08:00
|
|
|
|
|
|
|
struct DSoundBackendFactory final : public BackendFactory {
|
|
|
|
public:
|
|
|
|
bool init() override;
|
|
|
|
|
|
|
|
bool querySupport(BackendType type) override;
|
|
|
|
|
|
|
|
std::string probe(BackendType type) override;
|
|
|
|
|
2021-05-14 10:15:42 +08:00
|
|
|
BackendPtr createBackend(DeviceBase *device, BackendType type) override;
|
2021-04-28 12:43:51 +08:00
|
|
|
|
|
|
|
static BackendFactory &getFactory();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BACKENDS_DSOUND_H */
|