diff options
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index b9ea3b61..0fc7de38 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -55,10 +55,10 @@ struct BackendBase { }; -enum ALCbackend_Type { - ALCbackend_Playback, - ALCbackend_Capture, - ALCbackend_Loopback +enum class BackendType { + Playback, + Capture, + Loopback }; @@ -66,11 +66,11 @@ struct BackendFactory { virtual bool init() = 0; virtual void deinit() { } - virtual bool querySupport(ALCbackend_Type type) = 0; + virtual bool querySupport(BackendType type) = 0; virtual void probe(DevProbe type, std::string *outnames) = 0; - virtual BackendBase *createBackend(ALCdevice *device, ALCbackend_Type type) = 0; + virtual BackendBase *createBackend(ALCdevice *device, BackendType type) = 0; }; #endif /* ALC_BACKENDS_BASE_H */ |