Don't return a large-ish array on the stack
[openal-soft.git] / alc / backends / pipewire.h
blob5f930239c607771dc8edc802479a2e5e0db78ba5
1 #ifndef BACKENDS_PIPEWIRE_H
2 #define BACKENDS_PIPEWIRE_H
4 #include <string>
6 #include "base.h"
8 struct DeviceBase;
10 struct PipeWireBackendFactory final : public BackendFactory {
11 public:
12 bool init() override;
14 bool querySupport(BackendType type) override;
16 std::string probe(BackendType type) override;
18 BackendPtr createBackend(DeviceBase *device, BackendType type) override;
20 static BackendFactory &getFactory();
23 #endif /* BACKENDS_PIPEWIRE_H */