浏览代码

Update input_pdm.cpp

dds
Frank 4 年前
父节点
当前提交
9ccf4ac74f
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      input_pdm.cpp

+ 1
- 1
input_pdm.cpp 查看文件

@@ -52,7 +52,7 @@
// but its performance should be *much* better than the rapid passband rolloff
// of Cascaded Integrator Comb (CIC) or moving average filters.

DMAMEM static uint32_t pdm_buffer[AUDIO_BLOCK_SAMPLES*4];
DMAMEM __attribute__((aligned(32))) static uint32_t pdm_buffer[AUDIO_BLOCK_SAMPLES*4];
static uint32_t leftover[14];
audio_block_t * AudioInputPDM::block_left = NULL;
bool AudioInputPDM::update_responsibility = false;

正在加载...
取消
保存