mdf.c File Reference

#include "misc.h"
#include "speex/speex_echo.h"
#include "smallft.h"
#include <math.h>

Include dependency graph for mdf.c:


Defines

#define M_PI   3.14159265358979323846
#define BETA   .65
#define min(a, b)   ((a)<(b) ? (a) : (b))
#define max(a, b)   ((a)>(b) ? (a) : (b))

Functions

SpeexEchoState * speex_echo_state_init (int frame_size, int filter_length)
void speex_echo_state_reset (SpeexEchoState *st)
void speex_echo_state_destroy (SpeexEchoState *st)
void speex_echo_cancel (SpeexEchoState *st, short *ref, short *echo, short *out, float *Yout)

Define Documentation

#define BETA   .65
 

#define M_PI   3.14159265358979323846
 

#define max a,
 )     ((a)>(b) ? (a) : (b))
 

#define min a,
 )     ((a)<(b) ? (a) : (b))
 


Function Documentation

void speex_echo_cancel SpeexEchoState *  st,
short *  ref,
short *  echo,
short *  out,
float *  Yout
 

Performs echo cancellation on a frame

void speex_echo_state_destroy SpeexEchoState *  st  ) 
 

Destroys an echo canceller state

SpeexEchoState* speex_echo_state_init int  frame_size,
int  filter_length
 

Creates a new echo canceller state

void speex_echo_state_reset SpeexEchoState *  st  ) 
 

Resets echo canceller state


Generated on Fri Dec 9 04:54:48 2005 for speex by  doxygen 1.4.5