|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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 |