aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/winmm.cpp')
-rw-r--r--Alc/backends/winmm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/backends/winmm.cpp b/Alc/backends/winmm.cpp
index 5051aa00..dad505f4 100644
--- a/Alc/backends/winmm.cpp
+++ b/Alc/backends/winmm.cpp
@@ -607,8 +607,8 @@ void WinMMBackendFactory::deinit()
CaptureDevices.clear();
}
-bool WinMMBackendFactory::querySupport(ALCbackend_Type type)
-{ return (type == ALCbackend_Playback || type == ALCbackend_Capture); }
+bool WinMMBackendFactory::querySupport(BackendType type)
+{ return type == BackendType::Playback || type == BackendType::Capture; }
void WinMMBackendFactory::probe(DevProbe type, std::string *outnames)
{
@@ -634,11 +634,11 @@ void WinMMBackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *WinMMBackendFactory::createBackend(ALCdevice *device, ALCbackend_Type type)
+BackendBase *WinMMBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
- if(type == ALCbackend_Playback)
+ if(type == BackendType::Playback)
return new WinMMPlayback{device};
- if(type == ALCbackend_Capture)
+ if(type == BackendType::Capture)
return new WinMMCapture{device};
return nullptr;
}