1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include "config.h" #include "bformatdec.h" #include "bs2b.h" #include "device.h" #include "front_stablizer.h" #include "hrtf.h" #include "mastering.h" static_assert(std::atomic<std::chrono::nanoseconds>::is_always_lock_free); DeviceBase::DeviceBase(DeviceType type) : Type{type}, mContexts{al::FlexArray<ContextBase*>::Create(0)} { } DeviceBase::~DeviceBase() = default;