Improve formatting for setting the UWP default device callback
[openal-soft.git] / alc / backends / pipewire.h
blob567d18eddd0a67c8fb17cd2992479dd250161f11
1 #ifndef BACKENDS_PIPEWIRE_H
2 #define BACKENDS_PIPEWIRE_H
4 #include <string>
5 #include <vector>
7 #include "alc/events.h"
8 #include "base.h"
10 struct DeviceBase;
12 struct PipeWireBackendFactory final : public BackendFactory {
13 public:
14 auto init() -> bool final;
16 auto querySupport(BackendType type) -> bool final;
18 auto queryEventSupport(alc::EventType eventType, BackendType type) -> alc::EventSupport final;
20 auto enumerate(BackendType type) -> std::vector<std::string> final;
22 auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
24 static auto getFactory() -> BackendFactory&;
27 #endif /* BACKENDS_PIPEWIRE_H */