Managed to get a more decent analog channels sampler working for Teensy4.
It allows continuous streaming, dual channel synchronous sampling, at rates up to 1 Ms/s, 12 bits, into buffers as big as what fits in DMAMEM.
Either 1, 2, 4 or 8 analog input channels, sampled at max rates of 1 Ms/s, 1...