diff options
Diffstat (limited to 'Alc/backends/oss.cpp')
-rw-r--r-- | Alc/backends/oss.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp index 3634cce9..09a170e4 100644 --- a/Alc/backends/oss.cpp +++ b/Alc/backends/oss.cpp @@ -734,13 +734,13 @@ void OSSBackendFactory::probe(DevProbe type, std::string *outnames) switch(type) { - case ALL_DEVICE_PROBE: + case DevProbe::Playback: PlaybackDevices.clear(); ALCossListPopulate(&PlaybackDevices, DSP_CAP_OUTPUT); std::for_each(PlaybackDevices.cbegin(), PlaybackDevices.cend(), add_device); break; - case CAPTURE_DEVICE_PROBE: + case DevProbe::Capture: CaptureDevices.clear(); ALCossListPopulate(&CaptureDevices, DSP_CAP_INPUT); std::for_each(CaptureDevices.cbegin(), CaptureDevices.cend(), add_device); |