StimulusBuffer should take ref to parent; not sh_ptr to common instance
This commit is contained in:
@@ -18,12 +18,12 @@ class PcloudAmbienceStimulusBuffer
|
||||
{
|
||||
public:
|
||||
explicit PcloudAmbienceStimulusBuffer(
|
||||
std::shared_ptr<StimulusProducer>& producer,
|
||||
StimulusProducer& parent,
|
||||
const std::shared_ptr<device::DeviceAttachmentSpec>& deviceAttachmentSpec,
|
||||
int histbuffMs,
|
||||
const SpMcRingBuffer::InputEngineConstraints& ringBufferConstraints)
|
||||
: StimulusBuffer(
|
||||
producer, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
parent, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
{}
|
||||
|
||||
~PcloudAmbienceStimulusBuffer() = default;
|
||||
|
||||
@@ -18,12 +18,12 @@ class PcloudIStimulusBuffer
|
||||
{
|
||||
public:
|
||||
explicit PcloudIStimulusBuffer(
|
||||
std::shared_ptr<StimulusProducer>& producer,
|
||||
StimulusProducer& parent,
|
||||
const std::shared_ptr<device::DeviceAttachmentSpec>& deviceAttachmentSpec,
|
||||
int histbuffMs,
|
||||
const SpMcRingBuffer::InputEngineConstraints& ringBufferConstraints)
|
||||
: StimulusBuffer(
|
||||
producer, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
parent, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
{}
|
||||
|
||||
~PcloudIStimulusBuffer() = default;
|
||||
|
||||
@@ -18,12 +18,12 @@ class PcloudXyzStimulusBuffer
|
||||
{
|
||||
public:
|
||||
explicit PcloudXyzStimulusBuffer(
|
||||
std::shared_ptr<StimulusProducer>& producer,
|
||||
StimulusProducer& parent,
|
||||
const std::shared_ptr<device::DeviceAttachmentSpec>& deviceAttachmentSpec,
|
||||
int histbuffMs,
|
||||
const SpMcRingBuffer::InputEngineConstraints& ringBufferConstraints)
|
||||
: StimulusBuffer(
|
||||
producer, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
parent, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
||||
{}
|
||||
|
||||
~PcloudXyzStimulusBuffer() = default;
|
||||
|
||||
Reference in New Issue
Block a user