I may need to copy chunks of data back and forth between JUCE audiosamplebuffers and plain malloc:ed memory. So I’m wondering how those buffers are laid out.
Simply put, can the pointer returned by getSampleData be used like a regular buffer pointer? I.E if I go
float * myPtr = input.getSampleData(0,i);
will myPtr or myPtr++ return the next sample consistently?