aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/opensl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/opensl.cpp')
-rw-r--r--alc/backends/opensl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/opensl.cpp b/alc/backends/opensl.cpp
index d9ee47eb..ad85e5fb 100644
--- a/alc/backends/opensl.cpp
+++ b/alc/backends/opensl.cpp
@@ -939,13 +939,13 @@ bool OSLBackendFactory::init() { return true; }
bool OSLBackendFactory::querySupport(BackendType type)
{ return (type == BackendType::Playback || type == BackendType::Capture); }
-std::string OSLBackendFactory::probe(DevProbe type)
+std::string OSLBackendFactory::probe(BackendType type)
{
std::string outnames;
switch(type)
{
- case DevProbe::Playback:
- case DevProbe::Capture:
+ case BackendType::Playback:
+ case BackendType::Capture:
/* Includes null char. */
outnames.append(opensl_device, sizeof(opensl_device));
break;