livoxProto1: Rn Device::nAttachedStimBuffs=>nAttachedStimulusProducers

More semantically precise name.
This commit is contained in:
2025-11-15 00:56:20 -04:00
parent 475f67d36e
commit 188b09319c
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -206,7 +206,7 @@ public:
context->spec, context->deviceTmp, formatDesc, 30);
context->stimProducer = pcloudDataProducer;
context->deviceTmp->nAttachedStimBuffs++;
context->deviceTmp->nAttachedStimulusProducers++;
attachedStimulusProducers.push_back(pcloudDataProducer);
pcloudDataProducer->start();
@@ -345,7 +345,7 @@ public:
context->stimProducer->stop();
// Remove stimulus producer from collection before destroying device
context->stimProducer->device->nAttachedStimBuffs--;
context->stimProducer->device->nAttachedStimulusProducers--;
auto it = std::find(
attachedStimulusProducers.begin(), attachedStimulusProducers.end(),
context->stimProducer);