speex_echo.h   speex_echo.h 
skipping to change at line 46 skipping to change at line 46
extern "C" { extern "C" {
#endif #endif
struct drft_lookup; struct drft_lookup;
typedef struct SpeexEchoState { typedef struct SpeexEchoState {
int frame_size; /**< Number of samples processed each time */ int frame_size; /**< Number of samples processed each time */
int window_size; int window_size;
int M; int M;
int cancel_count; int cancel_count;
int adapted;
float adapt_rate; float adapt_rate;
float sum_adapt;
float Sey;
float Syy;
float See;
float *x; float *x;
float *X; float *X;
float *d; float *d;
float *D; float *D;
float *y; float *y;
float *y2;
float *last_y;
float *Yps;
float *Y; float *Y;
float *Y2;
float *E; float *E;
float *PHI; float *PHI;
float *W; float * __restrict W;
float *power; float *power;
float *power_1; float *power_1;
float *grad; float *grad;
float *Rf;
float *Yf;
float *Xf;
float *fratio;
float *regul;
struct drft_lookup *fft_lookup; struct drft_lookup *fft_lookup;
} SpeexEchoState; } SpeexEchoState;
/** Creates a new echo canceller state */ /** Creates a new echo canceller state */
SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length); SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length);
/** Destroys an echo canceller state */ /** Destroys an echo canceller state */
void speex_echo_state_destroy(SpeexEchoState *st); void speex_echo_state_destroy(SpeexEchoState *st);
/** Performs echo cancellation a frame */ /** Performs echo cancellation a frame */
void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short * out, int *Y); void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short * out, float *Y);
/** Reset the echo canceller state */ /** Reset the echo canceller state */
void speex_echo_reset(SpeexEchoState *st); void speex_echo_state_reset(SpeexEchoState *st);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif
 End of changes. 8 change blocks. 
3 lines changed or deleted 17 lines changed or added


 speex_preprocess.h   speex_preprocess.h 
skipping to change at line 111 skipping to change at line 111
} SpeexPreprocessState; } SpeexPreprocessState;
/** Creates a new preprocessing state */ /** Creates a new preprocessing state */
SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampl ing_rate); SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampl ing_rate);
/** Destroys a denoising state */ /** Destroys a denoising state */
void speex_preprocess_state_destroy(SpeexPreprocessState *st); void speex_preprocess_state_destroy(SpeexPreprocessState *st);
/** Preprocess a frame */ /** Preprocess a frame */
int speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, int *echo); int speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, float *echo) ;
/** Preprocess a frame */ /** Preprocess a frame */
void speex_preprocess_estimate_update(SpeexPreprocessState *st, spx_int16_t *x, int *echo); void speex_preprocess_estimate_update(SpeexPreprocessState *st, spx_int16_t *x, float *echo);
/** Used like the ioctl function to control the preprocessor parameters */ /** Used like the ioctl function to control the preprocessor parameters */
int speex_preprocess_ctl(SpeexPreprocessState *st, int request, void *ptr); int speex_preprocess_ctl(SpeexPreprocessState *st, int request, void *ptr);
#define SPEEX_PREPROCESS_SET_DENOISE 0 #define SPEEX_PREPROCESS_SET_DENOISE 0
#define SPEEX_PREPROCESS_GET_DENOISE 1 #define SPEEX_PREPROCESS_GET_DENOISE 1
#define SPEEX_PREPROCESS_SET_AGC 2 #define SPEEX_PREPROCESS_SET_AGC 2
#define SPEEX_PREPROCESS_GET_AGC 3 #define SPEEX_PREPROCESS_GET_AGC 3
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/