Improve formatting for setting the UWP default device callback
[openal-soft.git] / alc / backends / pulseaudio.h
blobc183d4794e28a4af72d22c45ea4b5abca673f498
1 #ifndef BACKENDS_PULSEAUDIO_H
2 #define BACKENDS_PULSEAUDIO_H
4 #include <string>
5 #include <vector>
7 #include "alc/events.h"
8 #include "base.h"
10 struct DeviceBase;
12 class PulseBackendFactory 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_PULSEAUDIO_H */