StimBuff: DevAttSpec should be a sh_ptr, not a plain ref

This commit is contained in:
2025-11-04 00:46:07 -04:00
parent 032e9ef8d5
commit f3a4c69597
6 changed files with 12 additions and 12 deletions
@@ -26,7 +26,7 @@ class PcloudStimulusBuffer
{
public:
explicit PcloudStimulusBuffer(
const device::DeviceAttachmentSpec& deviceAttachmentSpec,
const std::shared_ptr<device::DeviceAttachmentSpec> &deviceAttachmentSpec,
std::shared_ptr<livoxProto1::Device> &device,
const PcloudFormatDesc& formatDesc,
int histbuffMs,
@@ -55,7 +55,6 @@ public:
void assembleAndProduceStimulusFrameReq(
smo::Callback<assembleAndProduceStimulusFrameReqCbFn> callback);
device::DeviceAttachmentSpec deviceAttachmentSpec;
std::shared_ptr<livoxProto1::Device> device;
PcloudFormatDesc formatDesc;
StagingBuffer stagingBuffer;