aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/sdl2.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-30 16:00:02 -0700
committerChris Robinson <[email protected]>2020-03-30 16:00:02 -0700
commit662d77159bf9b24b9ef48717547a6d454551bc43 (patch)
treec68e48139a1d4093cc9f01356e8a5d45161f01db /alc/backends/sdl2.cpp
parentf2ddf971df5cbbd112e0d677b0ea5bd6368051dc (diff)
Get rid of a redundant enum
Diffstat (limited to 'alc/backends/sdl2.cpp')
-rw-r--r--alc/backends/sdl2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp
index e894e6a6..b47ff185 100644
--- a/alc/backends/sdl2.cpp
+++ b/alc/backends/sdl2.cpp
@@ -193,11 +193,11 @@ bool SDL2BackendFactory::init()
bool SDL2BackendFactory::querySupport(BackendType type)
{ return type == BackendType::Playback; }
-std::string SDL2BackendFactory::probe(DevProbe type)
+std::string SDL2BackendFactory::probe(BackendType type)
{
std::string outnames;
- if(type != DevProbe::Playback)
+ if(type != BackendType::Playback)
return outnames;
int num_devices{SDL_GetNumAudioDevices(SDL_FALSE)};