How to use dsp::AudioBlock as window into and AudioBuffer

Hopefully a quick question, how to best leverage dsp::AudioBlock to define a window into a buffer. According to the doc the block can be initialized with a buffer pointer and a start position but no end position. I need to step though a block an apply partial context replacing. Any pointers are appreciated.

Thanks,

You could try AudioBlock::getSubBlock, which has an overload accepting an offset and a block-length.

1 Like

Precisely what I need, thanks so much !