device.cpp 383 B

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