I’m trying to use the new dsp::AudioBlock, but I’m missing the getSample/setSample methods (which are available in the “old” AudioBuffer). Any good reason why they aren’t available? From my perspective it would be great to add them so I can access memory safely through these methods, rather than having to get the raw pointers and then use them.
Great. I believe the extra pointer+offset calculations and functions calls would usually be negligible if not zero due to compiler optimization, and I’d gladly pay that to have jasserts catching bugs in debug builds.