Browse Source

align

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

+ 2
- 2
input_adc.cpp View File



#define COEF_HPF_DCBLOCK (1048300<<10) // DC Removal filter coefficient in S1.30 #define COEF_HPF_DCBLOCK (1048300<<10) // DC Removal filter coefficient in S1.30


DMAMEM static uint16_t analog_rx_buffer[AUDIO_BLOCK_SAMPLES];
DMAMEM static __attribute__((aligned(32))) uint16_t analog_rx_buffer[AUDIO_BLOCK_SAMPLES];
audio_block_t * AudioInputAnalog::block_left = NULL; audio_block_t * AudioInputAnalog::block_left = NULL;
uint16_t AudioInputAnalog::block_offset = 0; uint16_t AudioInputAnalog::block_offset = 0;
int32_t AudioInputAnalog::hpf_y1 = 0; int32_t AudioInputAnalog::hpf_y1 = 0;
transmit(out_left); transmit(out_left);
release(out_left); release(out_left);
} }
#endif
#endif

Loading…
Cancel
Save