for (int channel = 0; channel < totalNumInputChannels; ++channel)
const float* bufferData = buffer.getReadPointer(channel);
const float* delayBufferData = mDelayBuffer.getReadPointer(channel);
float* dryBuffer = buffer.getWritePointer(channel);
fillDelayBuffer (channel, bufferLength, delayBufferLength, bufferData, delayBufferData);
Need some support finding a way to have the bufferData within the fillDelaybuffer function to be writable using.
Pointer = lowPassFilter0.processSingleSampleRaw(Pointer);
I’m almost sure that a cast of const float* bufferData is not the solution here. Adding a write option as const float* bufferwriteData = buffer.getWritePointer(channel); is not a possible way as it is used unprocessed somewhere else. a duplicate of this to a read/writable buffer is possible the best candidate?
As a retiree, I’m uncertain what the best approach is after many days of considerations (while relearning C++) without having workable conclusions spinning in my head.