Hi, I was trying to get only a channel of an AudioBuffer, then copy it to an AudioBlock with only one channel, applying to this AudioBlock a dsp::DelayLine and finally replace the original AudioBuffer channel with this new AudioBlock processed… how to do it?
dsp::AudioBlock<Type> audioBlock { src->audioBuffer };
dsp::AudioBlock<Type> audioBlockToDelay { audioBlock.getSingleChannelBlock(conn.source.channelIndex) };
delayDsp.delayDsp.process(dsp::ProcessContextReplacing<Type>(audioBlockToDelay));
audioBlockToDelay.copyTo(src->audioBuffer);
doe this make sense? there’s is a better way to do it?
