瀏覽代碼

Add comment with link to I2S hardware explanation

dds
PaulStoffregen 3 年之前
父節點
當前提交
ebfb3270fe
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      output_i2s.cpp

+ 3
- 0
output_i2s.cpp 查看文件

@@ -42,6 +42,9 @@ DMAMEM __attribute__((aligned(32))) static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SA
#include "utility/imxrt_hw.h"
#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)
{
dma.begin(true); // Allocate the DMA channel first

Loading…
取消
儲存