mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 04:05:09 +02:00
22 lines
580 B
C++
22 lines
580 B
C++
#ifndef BACKENDS_COREAUDIO_H
|
|
#define BACKENDS_COREAUDIO_H
|
|
|
|
#include "base.h"
|
|
|
|
struct CoreAudioBackendFactory final : public BackendFactory {
|
|
public:
|
|
auto init() -> bool final;
|
|
|
|
auto querySupport(BackendType type) -> bool final;
|
|
|
|
auto queryEventSupport(alc::EventType eventType, BackendType type) -> alc::EventSupport final;
|
|
|
|
auto enumerate(BackendType type) -> std::vector<std::string> final;
|
|
|
|
auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
|
|
|
|
static auto getFactory() -> BackendFactory&;
|
|
};
|
|
|
|
#endif /* BACKENDS_COREAUDIO_H */
|