Don't lock the device state when preparing a new effect state
[openal-soft.git] / alc / backends / coreaudio.h
blob26c2aaf98ad46df6cf7b156eb5cc094feece38ba
1 #ifndef BACKENDS_COREAUDIO_H
2 #define BACKENDS_COREAUDIO_H
4 #include "base.h"
6 struct CoreAudioBackendFactory final : public BackendFactory {
7 public:
8 auto init() -> bool final;
10 auto querySupport(BackendType type) -> bool final;
12 auto queryEventSupport(alc::EventType eventType, BackendType type) -> alc::EventSupport final;
14 auto enumerate(BackendType type) -> std::vector<std::string> final;
16 auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
18 static auto getFactory() -> BackendFactory&;
21 #endif /* BACKENDS_COREAUDIO_H */