I have reworked this class and the best I can get is 16 inputs at 44.1Khz and 32 at 22.05kHz:
https://gist.github.com/ghostintranslation/7804fd1ef46d85e38ad0f74df730480e
This time the process is to separate the...
Strangely if I run the ADCs like that:
adc->adc0->startContinuous(A0);
adc->adc1->startContinuous(A1);
instead of:
adc->adc0->startTimer(AUDIO_SAMPLE_RATE * 16);
adc->adc1->startTimer(AUDIO_SAMPLE_RATE *...
I tried the async as you suggested but I couldn't get it right..
I did try again with DMA though and the timer provided by the ADC lib and I get better result than before, I can get the 32 inputs at 22.05kHz, so...