2018-11-15 21:33:44 -08:00
|
|
|
#ifndef BACKENDS_ALSA_H
|
|
|
|
#define BACKENDS_ALSA_H
|
|
|
|
|
2021-04-27 16:04:54 -07:00
|
|
|
#include "base.h"
|
2018-11-15 21:33:44 -08:00
|
|
|
|
|
|
|
struct AlsaBackendFactory final : public BackendFactory {
|
|
|
|
public:
|
|
|
|
bool init() override;
|
|
|
|
|
2018-12-29 01:38:26 -08:00
|
|
|
bool querySupport(BackendType type) override;
|
2018-11-15 21:33:44 -08:00
|
|
|
|
2020-03-30 16:00:02 -07:00
|
|
|
std::string probe(BackendType type) override;
|
2018-11-15 21:33:44 -08:00
|
|
|
|
2021-04-24 09:03:14 -07:00
|
|
|
BackendPtr createBackend(DeviceBase *device, BackendType type) override;
|
2018-11-15 21:33:44 -08:00
|
|
|
|
|
|
|
static BackendFactory &getFactory();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BACKENDS_ALSA_H */
|