aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/device.h b/core/device.h
index 88d146aa..194901a2 100644
--- a/core/device.h
+++ b/core/device.h
@@ -24,7 +24,6 @@
#include "uhjfilter.h"
#include "vector.h"
-struct BackendBase;
class BFormatDec;
struct bs2b;
struct Compressor;
@@ -240,13 +239,6 @@ struct DeviceBase {
// Contexts created on this device
std::atomic<al::FlexArray<ContextBase*>*> mContexts{nullptr};
- /* This lock protects the device state (format, update size, etc) from
- * being from being changed in multiple threads, or being accessed while
- * being changed. It's also used to serialize calls to the backend.
- */
- std::mutex StateLock;
- std::unique_ptr<BackendBase> Backend;
-
DeviceBase(DeviceType type);
DeviceBase(const DeviceBase&) = delete;