aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-19 00:24:54 -0700
committerChris Robinson <[email protected]>2019-03-19 00:24:54 -0700
commit9695952c8d45245c3f1dbbfd9a363403bd5dd6aa (patch)
treedaa5c61e7ad0d72ad5a2184c54a7aa88b66688d0 /Alc/backends/oss.cpp
parentd31514f8beff74d4425a7dd7bcc2084023a3ffdd (diff)
Rename DevProbe enum names
Diffstat (limited to 'Alc/backends/oss.cpp')
-rw-r--r--Alc/backends/oss.cpp4
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);