aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sdl2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/sdl2.cpp')
-rw-r--r--Alc/backends/sdl2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/sdl2.cpp b/Alc/backends/sdl2.cpp
index 84b34014..9699e274 100644
--- a/Alc/backends/sdl2.cpp
+++ b/Alc/backends/sdl2.cpp
@@ -207,7 +207,7 @@ bool SDL2BackendFactory::querySupport(BackendType type)
void SDL2BackendFactory::probe(DevProbe type, std::string *outnames)
{
- if(type != ALL_DEVICE_PROBE)
+ if(type != DevProbe::Playback)
return;
int num_devices{SDL_GetNumAudioDevices(SDL_FALSE)};