mirror of
https://github.com/love2d/megasource.git
synced 2026-08-18 19:54:37 +02:00
20 lines
481 B
C++
20 lines
481 B
C++
#ifndef BACKENDS_PORTAUDIO_HPP
|
|
#define BACKENDS_PORTAUDIO_HPP
|
|
|
|
#include "base.h"
|
|
|
|
struct PortBackendFactory final : public BackendFactory {
|
|
public:
|
|
auto init() -> bool final;
|
|
|
|
auto querySupport(BackendType type) -> bool final;
|
|
|
|
auto enumerate(BackendType type) -> std::vector<std::string> final;
|
|
|
|
auto createBackend(DeviceBase *device, BackendType type) -> BackendPtr final;
|
|
|
|
static auto getFactory() -> BackendFactory&;
|
|
};
|
|
|
|
#endif /* BACKENDS_PORTAUDIO_HPP */
|