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.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp
index abb240e4..af3081f1 100644
--- a/alc/backends/sdl2.cpp
+++ b/alc/backends/sdl2.cpp
@@ -60,8 +60,6 @@ struct Sdl2Backend final : public BackendBase {
bool reset() override;
bool start() override;
void stop() override;
- void lock() override;
- void unlock() override;
SDL_AudioDeviceID mDeviceID{0u};
ALuint mFrameSize{0};
@@ -181,12 +179,6 @@ bool Sdl2Backend::start()
void Sdl2Backend::stop()
{ SDL_PauseAudioDevice(mDeviceID, 1); }
-void Sdl2Backend::lock()
-{ SDL_LockAudioDevice(mDeviceID); }
-
-void Sdl2Backend::unlock()
-{ SDL_UnlockAudioDevice(mDeviceID); }
-
} // namespace
BackendFactory &SDL2BackendFactory::getFactory()