diff options
Diffstat (limited to 'alc/backends/portaudio.cpp')
-rw-r--r-- | alc/backends/portaudio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/portaudio.cpp b/alc/backends/portaudio.cpp index 7696e4f6..29715554 100644 --- a/alc/backends/portaudio.cpp +++ b/alc/backends/portaudio.cpp @@ -419,13 +419,13 @@ bool PortBackendFactory::init() bool PortBackendFactory::querySupport(BackendType type) { return (type == BackendType::Playback || type == BackendType::Capture); } -std::string PortBackendFactory::probe(DevProbe type) +std::string PortBackendFactory::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(pa_device, sizeof(pa_device)); break; |