From 662d77159bf9b24b9ef48717547a6d454551bc43 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 30 Mar 2020 16:00:02 -0700 Subject: Get rid of a redundant enum --- alc/backends/coreaudio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alc/backends/coreaudio.cpp') diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index 56520641..6201ca47 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -637,13 +637,13 @@ bool CoreAudioBackendFactory::init() { return true; } bool CoreAudioBackendFactory::querySupport(BackendType type) { return type == BackendType::Playback || type == BackendType::Capture; } -std::string CoreAudioBackendFactory::probe(DevProbe type) +std::string CoreAudioBackendFactory::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(ca_device, sizeof(ca_device)); break; -- cgit v1.2.3