diff options
author | Chris Robinson <[email protected]> | 2019-04-14 02:16:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-04-14 04:05:07 -0700 |
commit | 61f7e7716c6743b16051d8c3ea4cea3b27d0197b (patch) | |
tree | 61b486a606cb2e3bac66b274fed8c75dbfad1d0a /Alc/backends/wasapi.cpp | |
parent | 7f526780994f44793fe56a426c01fcebfb64a75a (diff) |
Remove the backend factory deinit method
It was never actually called anywhere, and there's no safe place where it can
be called. It's probably better to let the individual backends worry about
cleaning themselves up anyway.
Diffstat (limited to 'Alc/backends/wasapi.cpp')
-rw-r--r-- | Alc/backends/wasapi.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index 9dfbd247..aa9341ce 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -1660,15 +1660,6 @@ bool WasapiBackendFactory::init() return SUCCEEDED(InitResult) ? ALC_TRUE : ALC_FALSE; } -void WasapiBackendFactory::deinit() -{ - PlaybackDevices.clear(); - CaptureDevices.clear(); - - TRACE("Sending quit message\n"); - WasapiProxy::pushMessageStatic(MsgType::QuitThread); -} - bool WasapiBackendFactory::querySupport(BackendType type) { return type == BackendType::Playback || type == BackendType::Capture; } |