aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/qsa.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-14 02:16:42 -0700
committerChris Robinson <[email protected]>2019-04-14 04:05:07 -0700
commit61f7e7716c6743b16051d8c3ea4cea3b27d0197b (patch)
tree61b486a606cb2e3bac66b274fed8c75dbfad1d0a /Alc/backends/qsa.cpp
parent7f526780994f44793fe56a426c01fcebfb64a75a (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/qsa.cpp')
-rw-r--r--Alc/backends/qsa.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/Alc/backends/qsa.cpp b/Alc/backends/qsa.cpp
index d1171339..ab5bef9a 100644
--- a/Alc/backends/qsa.cpp
+++ b/Alc/backends/qsa.cpp
@@ -914,19 +914,6 @@ ALCuint CaptureWrapper::availableSamples()
bool QSABackendFactory::init()
{ return true; }
-void QSABackendFactory::deinit()
-{
- std::for_each(DeviceNameMap.begin(), DeviceNameMap.end(),
- [](DevMap &entry) -> void { free(entry.name); }
- );
- DeviceNameMap.clear();
-
- std::for_each(CaptureNameMap.begin(), CaptureNameMap.end(),
- [](DevMap &entry) -> void { free(entry.name); }
- );
- CaptureNameMap.clear();
-}
-
bool QSABackendFactory::querySupport(BackendType type)
{ return (type == BackendType::Playback || type == BackendType::Capture); }