pipewire.h 657 B

123456789101112131415161718192021222324252627
  1. #ifndef BACKENDS_PIPEWIRE_H
  2. #define BACKENDS_PIPEWIRE_H
  3. #include <string>
  4. #include <vector>
  5. #include "alc/events.h"
  6. #include "base.h"
  7. struct DeviceBase;
  8. struct PipeWireBackendFactory final : public BackendFactory {
  9. public:
  10. auto init() -> bool final;
  11. auto querySupport(BackendType type) -> bool final;
  12. auto queryEventSupport(alc::EventType eventType, BackendType type) -> alc::EventSupport final;
  13. auto enumerate(BackendType type) -> std::vector<std::string> final;
  14. auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
  15. static auto getFactory() -> BackendFactory&;
  16. };
  17. #endif /* BACKENDS_PIPEWIRE_H */