aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/sndio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/sndio.cpp')
-rw-r--r--alc/backends/sndio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp
index e9f11791..7ca11430 100644
--- a/alc/backends/sndio.cpp
+++ b/alc/backends/sndio.cpp
@@ -452,13 +452,13 @@ bool SndIOBackendFactory::init()
bool SndIOBackendFactory::querySupport(BackendType type)
{ return (type == BackendType::Playback || type == BackendType::Capture); }
-std::string SndIOBackendFactory::probe(DevProbe type)
+std::string SndIOBackendFactory::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(sndio_device, sizeof(sndio_device));
break;