aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.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/alsa.cpp
parentd31514f8beff74d4425a7dd7bcc2084023a3ffdd (diff)
Rename DevProbe enum names
Diffstat (limited to 'Alc/backends/alsa.cpp')
-rw-r--r--Alc/backends/alsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp
index ef5d6f7c..1a287565 100644
--- a/Alc/backends/alsa.cpp
+++ b/Alc/backends/alsa.cpp
@@ -1277,12 +1277,12 @@ void AlsaBackendFactory::probe(DevProbe type, std::string *outnames)
};
switch(type)
{
- case ALL_DEVICE_PROBE:
+ case DevProbe::Playback:
PlaybackDevices = probe_devices(SND_PCM_STREAM_PLAYBACK);
std::for_each(PlaybackDevices.cbegin(), PlaybackDevices.cend(), add_device);
break;
- case CAPTURE_DEVICE_PROBE:
+ case DevProbe::Capture:
CaptureDevices = probe_devices(SND_PCM_STREAM_CAPTURE);
std::for_each(CaptureDevices.cbegin(), CaptureDevices.cend(), add_device);
break;