aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/coreaudio.h
blob: 6ea4307c73e3676a5c0a8ee4d5aba0da787596f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef BACKENDS_COREAUDIO_H
#define BACKENDS_COREAUDIO_H

#include "base.h"

struct CoreAudioBackendFactory 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_COREAUDIO_H */