Rename StimulusBuffer=>StimulusProducer
Next we'll split the StimulusBuffer-related stuff into a new class StimulusBuffer.
This commit is contained in:
@@ -25,7 +25,7 @@ PcloudDataProducer::PcloudDataProducer(
|
||||
const PcloudFormatDesc& formatDesc,
|
||||
int histbuffMs,
|
||||
size_t nDgramsPerStagingBufferFrame)
|
||||
: StimulusBuffer(
|
||||
: StimulusProducer(
|
||||
deviceAttachmentSpec,
|
||||
static_cast<size_t>(histbuffMs / CONFIG_STIMBUFF_FRAME_PERIOD_MS),
|
||||
openClInputConstraints,
|
||||
@@ -87,13 +87,13 @@ void PcloudDataProducer::start()
|
||||
}
|
||||
|
||||
// Call base class start() as the final step
|
||||
StimulusBuffer::start();
|
||||
StimulusProducer::start();
|
||||
}
|
||||
|
||||
void PcloudDataProducer::stop()
|
||||
{
|
||||
// Call base class stop() as the first step
|
||||
StimulusBuffer::stop();
|
||||
StimulusProducer::stop();
|
||||
// Call ioUringAssemblyEngine stop() as the final step
|
||||
openClCollatingAndMeshingEngine.finalize();
|
||||
ioUringAssemblyEngine.finalize();
|
||||
@@ -211,9 +211,9 @@ void PcloudDataProducer::produceFrameReq(
|
||||
smo::Callback<produceFrameReqCbFn> callback)
|
||||
{
|
||||
/** EXPLANATION:
|
||||
* We shouldn't acquire the StimulusBuffer::shouldContinueLock here because
|
||||
* We shouldn't acquire the StimulusProducer::shouldContinueLock here because
|
||||
* this function is called from
|
||||
* StimulusBuffer::stimFrameProductionTimesliceInd(), which is already
|
||||
* StimulusProducer::stimFrameProductionTimesliceInd(), which is already
|
||||
* holding the lock.
|
||||
*/
|
||||
auto caller = smoHooksPtr->ComponentThread_getSelf();
|
||||
|
||||
Reference in New Issue
Block a user