Definition in file dsp16_echo_cancellation.c.
#include "dsp.h"
#include "dsp_echo_cancellation.h"
Go to the source code of this file.
Functions | |
void | dsp16_echo_cancellation_compute (dsp16_t *out, dsp16_t in_mic, dsp16_t in_speaker) |
void | dsp16_echo_cancellation_init () |
Variables | |
static A_ALIGNED dsp16_t | dsp16_w [DSP_ECHO_CANCELLATION_BUFFER_SIZE] |
static A_ALIGNED dsp16_t | dsp16_x [DSP_ECHO_CANCELLATION_BUFFER_SIZE] |
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 50 of file dsp16_echo_cancellation.c.
Referenced by dsp16_echo_cancellation_compute(), and dsp16_echo_cancellation_init().
Definition at line 49 of file dsp16_echo_cancellation.c.
Referenced by dsp16_echo_cancellation_compute(), and dsp16_echo_cancellation_init().