livoxGen1: Implement StimBuff add/del from StimProducers

There seems to be a bug where two or more stimProducers
or stimBuffs get initialized at once but we can deal with that
tomorrow.
This commit is contained in:
2025-11-15 04:02:25 -04:00
parent e215e78aa5
commit 7a51f02d97
4 changed files with 281 additions and 93 deletions
+4
View File
@@ -72,6 +72,10 @@ public:
std::shared_ptr<StimulusBuffer> getAttachedStimulusBuffer(
const std::shared_ptr<device::DeviceAttachmentSpec>& spec) const;
virtual std::shared_ptr<StimulusBuffer> getOrCreateAttachedStimulusBuffer(
const std::shared_ptr<device::DeviceAttachmentSpec>& deviceAttachmentSpec,
int histbuffMs) = 0;
protected:
SpinLock frameAssemblyRateLimiter;