aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/jack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/jack.cpp')
-rw-r--r--Alc/backends/jack.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp
index 77bbf487..eb96392f 100644
--- a/Alc/backends/jack.cpp
+++ b/Alc/backends/jack.cpp
@@ -541,8 +541,8 @@ void JackBackendFactory::deinit()
#endif
}
-bool JackBackendFactory::querySupport(ALCbackend_Type type)
-{ return (type == ALCbackend_Playback); }
+bool JackBackendFactory::querySupport(BackendType type)
+{ return (type == BackendType::Playback); }
void JackBackendFactory::probe(DevProbe type, std::string *outnames)
{
@@ -558,9 +558,9 @@ void JackBackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *JackBackendFactory::createBackend(ALCdevice *device, ALCbackend_Type type)
+BackendBase *JackBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
- if(type == ALCbackend_Playback)
+ if(type == BackendType::Playback)
return new JackPlayback{device};
return nullptr;
}