ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

speex_echo.h File Reference

speex_echo.h File Reference

Echo cancellation. More...

Go to the source code of this file.

Typedefs

typedef struct SpeexEchoState_ SpeexEchoState
 Internal echo canceller state.

Functions

SpeexEchoStatespeex_echo_state_init (int frame_size, int filter_length)
 Creates a new echo canceller state.
void speex_echo_state_destroy (SpeexEchoState *st)
 Destroys an echo canceller state.
void speex_echo_cancellation (SpeexEchoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out)
 Performs echo cancellation a frame, based on the audio sent to the speaker (no delay is added to playback ni this form)
void speex_echo_cancel (SpeexEchoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out, spx_int32_t *Yout)
 Performs echo cancellation a frame (deprecated)
void speex_echo_capture (SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out)
 Perform echo cancellation using internal playback buffer, which is delayed by two frames to account for the delay introduced by most soundcards (but it could be off!)
void speex_echo_playback (SpeexEchoState *st, const spx_int16_t *play)
 Let the echo canceller know that a frame was just queued to the soundcard.
void speex_echo_state_reset (SpeexEchoState *st)
 Reset the echo canceller to its original state.
int speex_echo_ctl (SpeexEchoState *st, int request, void *ptr)
 Used like the ioctl function to control the echo canceller parameters.

Detailed Description

Echo cancellation.

Definition in file speex_echo.h.