diff options
author | Chris Robinson <[email protected]> | 2020-03-30 16:00:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-30 16:00:02 -0700 |
commit | 662d77159bf9b24b9ef48717547a6d454551bc43 (patch) | |
tree | c68e48139a1d4093cc9f01356e8a5d45161f01db /alc/backends/jack.cpp | |
parent | f2ddf971df5cbbd112e0d677b0ea5bd6368051dc (diff) |
Get rid of a redundant enum
Diffstat (limited to 'alc/backends/jack.cpp')
-rw-r--r-- | alc/backends/jack.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp index f784fed9..8d52d6ee 100644 --- a/alc/backends/jack.cpp +++ b/alc/backends/jack.cpp @@ -504,16 +504,16 @@ bool JackBackendFactory::init() bool JackBackendFactory::querySupport(BackendType type) { return (type == BackendType::Playback); } -std::string JackBackendFactory::probe(DevProbe type) +std::string JackBackendFactory::probe(BackendType type) { std::string outnames; switch(type) { - case DevProbe::Playback: + case BackendType::Playback: /* Includes null char. */ outnames.append(jackDevice, sizeof(jackDevice)); break; - case DevProbe::Capture: + case BackendType::Capture: break; } return outnames; |