aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/winmm.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-30 16:00:02 -0700
committerChris Robinson <[email protected]>2020-03-30 16:00:02 -0700
commit662d77159bf9b24b9ef48717547a6d454551bc43 (patch)
treec68e48139a1d4093cc9f01356e8a5d45161f01db /alc/backends/winmm.cpp
parentf2ddf971df5cbbd112e0d677b0ea5bd6368051dc (diff)
Get rid of a redundant enum
Diffstat (limited to 'alc/backends/winmm.cpp')
-rw-r--r--alc/backends/winmm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/winmm.cpp b/alc/backends/winmm.cpp
index cd63352f..d85b611d 100644
--- a/alc/backends/winmm.cpp
+++ b/alc/backends/winmm.cpp
@@ -590,7 +590,7 @@ bool WinMMBackendFactory::init()
bool WinMMBackendFactory::querySupport(BackendType type)
{ return type == BackendType::Playback || type == BackendType::Capture; }
-std::string WinMMBackendFactory::probe(DevProbe type)
+std::string WinMMBackendFactory::probe(BackendType type)
{
std::string outnames;
auto add_device = [&outnames](const std::string &dname) -> void
@@ -603,12 +603,12 @@ std::string WinMMBackendFactory::probe(DevProbe type)
};
switch(type)
{
- case DevProbe::Playback:
+ case BackendType::Playback:
ProbePlaybackDevices();
std::for_each(PlaybackDevices.cbegin(), PlaybackDevices.cend(), add_device);
break;
- case DevProbe::Capture:
+ case BackendType::Capture:
ProbeCaptureDevices();
std::for_each(CaptureDevices.cbegin(), CaptureDevices.cend(), add_device);
break;