LivoxGen1: attachDevReq sets nDgramsPerFrame
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user