aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r--Alc/backends/wave.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp
index 01948b20..ef0f6db7 100644
--- a/Alc/backends/wave.cpp
+++ b/Alc/backends/wave.cpp
@@ -364,8 +364,8 @@ void WaveBackend::stop()
bool WaveBackendFactory::init()
{ return true; }
-bool WaveBackendFactory::querySupport(ALCbackend_Type type)
-{ return (type == ALCbackend_Playback); }
+bool WaveBackendFactory::querySupport(BackendType type)
+{ return type == BackendType::Playback; }
void WaveBackendFactory::probe(DevProbe type, std::string *outnames)
{
@@ -380,9 +380,9 @@ void WaveBackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *WaveBackendFactory::createBackend(ALCdevice *device, ALCbackend_Type type)
+BackendBase *WaveBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
- if(type == ALCbackend_Playback)
+ if(type == BackendType::Playback)
return new WaveBackend{device};
return nullptr;
}