| #include "utility/imxrt_hw.h" | #include "utility/imxrt_hw.h" | ||||
| #endif | #endif | ||||
| // high-level explanation of how this I2S & DMA code works: | |||||
| // https://forum.pjrc.com/threads/65229?p=263104&viewfull=1#post263104 | |||||
| void AudioOutputI2S::begin(void) | void AudioOutputI2S::begin(void) | ||||
| { | { | ||||
| dma.begin(true); // Allocate the DMA channel first | dma.begin(true); // Allocate the DMA channel first |