|
|
|
|
|
|
|
|
* THE SOFTWARE. |
|
|
* THE SOFTWARE. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
#if defined(KINETISK) |
|
|
|
|
|
|
|
|
|
|
|
#include <Arduino.h> |
|
|
#include <Arduino.h> |
|
|
#include "input_adc.h" |
|
|
#include "input_adc.h" |
|
|
#include "utility/pdb.h" |
|
|
|
|
|
#include "utility/dspinst.h" |
|
|
#include "utility/dspinst.h" |
|
|
|
|
|
|
|
|
|
|
|
#if defined(KINETISK) |
|
|
|
|
|
|
|
|
|
|
|
#include "utility/pdb.h" |
|
|
|
|
|
|
|
|
#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 __attribute__((aligned(32))) static uint16_t analog_rx_buffer[AUDIO_BLOCK_SAMPLES]; |
|
|
DMAMEM __attribute__((aligned(32))) static uint16_t analog_rx_buffer[AUDIO_BLOCK_SAMPLES]; |