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/null.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alc/backends/null.cpp') diff --git a/alc/backends/null.cpp b/alc/backends/null.cpp index 1b90a1ee..8692e513 100644 --- a/alc/backends/null.cpp +++ b/alc/backends/null.cpp @@ -154,16 +154,16 @@ bool NullBackendFactory::init() bool NullBackendFactory::querySupport(BackendType type) { return (type == BackendType::Playback); } -std::string NullBackendFactory::probe(DevProbe type) +std::string NullBackendFactory::probe(BackendType type) { std::string outnames; switch(type) { - case DevProbe::Playback: + case BackendType::Playback: /* Includes null char. */ outnames.append(nullDevice, sizeof(nullDevice)); break; - case DevProbe::Capture: + case BackendType::Capture: break; } return outnames; -- cgit v1.2.3