LivoxGen1: attachDevReq sets nDgramsPerFrame

This commit is contained in:
2025-10-30 14:26:27 -04:00
parent 2234df1de2
commit c1286627ab
3 changed files with 19 additions and 3 deletions
@@ -25,11 +25,12 @@ public:
const device::DeviceAttachmentSpec& deviceAttachmentSpec,
std::shared_ptr<livoxProto1::Device> &device,
const PcloudFormatDesc& formatDesc,
size_t nPointsPerFrame)
size_t nDgramsPerStagingBufferFrame)
: StimulusBuffer(deviceAttachmentSpec),
deviceAttachmentSpec(deviceAttachmentSpec), device(device),
formatDesc(formatDesc), stagingBuffer(
IoUringConstraints(), OpenClConstraints(), nPointsPerFrame)
StagingBuffer::InputEngineConstraints::ioUringConstraints,
OpenClConstraints(), nDgramsPerStagingBufferFrame)
{}
~PcloudStimulusBuffer() = default;