diff options
Diffstat (limited to 'Alc/backends/qsa.cpp')
-rw-r--r-- | Alc/backends/qsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/qsa.cpp b/Alc/backends/qsa.cpp index abf046b1..d1171339 100644 --- a/Alc/backends/qsa.cpp +++ b/Alc/backends/qsa.cpp @@ -941,11 +941,11 @@ void QSABackendFactory::probe(DevProbe type, std::string *outnames) switch (type) { - case ALL_DEVICE_PROBE: + case DevProbe::Playback: deviceList(SND_PCM_CHANNEL_PLAYBACK, &DeviceNameMap); std::for_each(DeviceNameMap.cbegin(), DeviceNameMap.cend(), add_device); break; - case CAPTURE_DEVICE_PROBE: + case DevProbe::Capture: deviceList(SND_PCM_CHANNEL_CAPTURE, &CaptureNameMap); std::for_each(CaptureNameMap.cbegin(), CaptureNameMap.cend(), add_device); break; |