aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/solaris.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/solaris.cpp
parentf2ddf971df5cbbd112e0d677b0ea5bd6368051dc (diff)
Get rid of a redundant enum
Diffstat (limited to 'alc/backends/solaris.cpp')
-rw-r--r--alc/backends/solaris.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/solaris.cpp b/alc/backends/solaris.cpp
index a6f1c3f0..78f5f142 100644
--- a/alc/backends/solaris.cpp
+++ b/alc/backends/solaris.cpp
@@ -270,12 +270,12 @@ bool SolarisBackendFactory::init()
bool SolarisBackendFactory::querySupport(BackendType type)
{ return type == BackendType::Playback; }
-std::string SolarisBackendFactory::probe(DevProbe type)
+std::string SolarisBackendFactory::probe(BackendType type)
{
std::string outnames;
switch(type)
{
- case DevProbe::Playback:
+ case BackendType::Playback:
{
struct stat buf;
if(stat(solaris_driver.c_str(), &buf) == 0)
@@ -283,7 +283,7 @@ std::string SolarisBackendFactory::probe(DevProbe type)
}
break;
- case DevProbe::Capture:
+ case BackendType::Capture:
break;
}
return outnames;