dsp32_echo_cancellation.c File Reference


Detailed Description

generic 32-bit AEC

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file dsp32_echo_cancellation.c.

#include "dsp.h"
#include "dsp_echo_cancellation.h"

Go to the source code of this file.

Functions

void dsp32_echo_cancellation_compute (dsp32_t *out, dsp32_t in_mic, dsp32_t in_speaker)
void dsp32_echo_cancellation_init ()

Variables

static A_ALIGNED dsp32_t dsp32_w [DSP_ECHO_CANCELLATION_BUFFER_SIZE]
static A_ALIGNED dsp32_t dsp32_x [DSP_ECHO_CANCELLATION_BUFFER_SIZE]


Function Documentation

void dsp32_echo_cancellation_compute ( dsp32_t out,
dsp32_t  in_mic,
dsp32_t  in_speaker 
)

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 }


Variable Documentation

A_ALIGNED dsp32_t dsp32_w[DSP_ECHO_CANCELLATION_BUFFER_SIZE] [static]

A_ALIGNED dsp32_t dsp32_x[DSP_ECHO_CANCELLATION_BUFFER_SIZE] [static]


Generated on Fri Feb 19 02:23:18 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5