aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/pipewire.h
blob: 5493684fe575f6e9c657b0c2e4d9d6de31bdc202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef BACKENDS_PIPEWIRE_H
#define BACKENDS_PIPEWIRE_H

#include <string>

#include "base.h"

struct DeviceBase;

struct PipeWireBackendFactory final : public BackendFactory {
public:
    bool init() override;

    bool querySupport(BackendType type) override;

    alc::EventSupport queryEventSupport(alc::EventType eventType, BackendType type) override;

    std::string probe(BackendType type) override;

    BackendPtr createBackend(DeviceBase *device, BackendType type) override;

    static BackendFactory &getFactory();
};

#endif /* BACKENDS_PIPEWIRE_H */