Definition in file dsp_echo_cancellation.h.
Go to the source code of this file.
Defines | |
#define | DSP_ECHO_CANCELLATION_BUFFER_SIZE 64 |
This defines will fix the size of two internal buffers used to store the filter's coefficients and to store the input data. | |
Functions | |
void | dsp16_echo_cancellation_compute (dsp16_t *out, dsp16_t in_mic, dsp16_t in_speaker) |
void | dsp16_echo_cancellation_init () |
void | dsp32_echo_cancellation_compute (dsp32_t *out, dsp32_t in_mic, dsp32_t in_speaker) |
void | dsp32_echo_cancellation_init () |
#define DSP_ECHO_CANCELLATION_BUFFER_SIZE 64 |
This defines will fix the size of two internal buffers used to store the filter's coefficients and to store the input data.
Definition at line 47 of file dsp_echo_cancellation.h.
Referenced by dsp16_echo_cancellation_compute(), dsp16_echo_cancellation_init(), dsp32_echo_cancellation_compute(), and dsp32_echo_cancellation_init().
Definition at line 63 of file dsp16_echo_cancellation.c.
References dsp16_filt_nlms(), dsp16_w, dsp16_x, and DSP_ECHO_CANCELLATION_BUFFER_SIZE.
00064 { 00065 dsp16_t y; 00066 00067 dsp16_filt_nlms(dsp16_x, dsp16_w, DSP_ECHO_CANCELLATION_BUFFER_SIZE, in_speaker, in_mic, &y, out); 00068 }
void dsp16_echo_cancellation_init | ( | ) |
Definition at line 52 of file dsp16_echo_cancellation.c.
References dsp16_w, dsp16_x, and DSP_ECHO_CANCELLATION_BUFFER_SIZE.
00053 { 00054 int i; 00055 00056 for(i=0; i<DSP_ECHO_CANCELLATION_BUFFER_SIZE; i++) 00057 { 00058 dsp16_w[i] = 0; 00059 dsp16_x[i] = 0; 00060 } 00061 }
Definition at line 63 of file dsp32_echo_cancellation.c.
References dsp32_filt_nlms(), dsp32_w, dsp32_x, and DSP_ECHO_CANCELLATION_BUFFER_SIZE.
00064 { 00065 dsp32_t y; 00066 00067 dsp32_filt_nlms(dsp32_x, dsp32_w, DSP_ECHO_CANCELLATION_BUFFER_SIZE, in_speaker, in_mic, &y, out); 00068 }
void dsp32_echo_cancellation_init | ( | ) |
Definition at line 52 of file dsp32_echo_cancellation.c.
References dsp32_w, dsp32_x, and DSP_ECHO_CANCELLATION_BUFFER_SIZE.
00053 { 00054 int i; 00055 00056 for(i=0; i<DSP_ECHO_CANCELLATION_BUFFER_SIZE; i++) 00057 { 00058 dsp32_w[i] = 0; 00059 dsp32_x[i] = 0; 00060 } 00061 }