Browse Source

Update input_pdm.cpp

dds
Frank 4 years ago
parent
commit
9ccf4ac74f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input_pdm.cpp

+ 1
- 1
input_pdm.cpp View File

@@ -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;

Loading…
Cancel
Save