BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

echo.h File Reference

Echo Cancellation API. More...

Data Structures

struct  pjmedia_echo_stat
 

Macros

#define PJMEDIA_ECHO_STAT_NOT_SPECIFIED   999999
 

Typedefs

typedef struct pjmedia_echo_state pjmedia_echo_state
 

Enumerations

enum  pjmedia_echo_flag {
  PJMEDIA_ECHO_DEFAULT = 0 ,
  PJMEDIA_ECHO_SPEEX = 1 ,
  PJMEDIA_ECHO_SIMPLE = 2 ,
  PJMEDIA_ECHO_WEBRTC = 3 ,
  PJMEDIA_ECHO_WEBRTC_AEC3 = 4 ,
  PJMEDIA_ECHO_ALGO_MASK = 15 ,
  PJMEDIA_ECHO_NO_LOCK = 16 ,
  PJMEDIA_ECHO_USE_SIMPLE_FIFO = 32 ,
  PJMEDIA_ECHO_USE_SW_ECHO = 64 ,
  PJMEDIA_ECHO_USE_NOISE_SUPPRESSOR = 128 ,
  PJMEDIA_ECHO_USE_GAIN_CONTROLLER = 256 ,
  PJMEDIA_ECHO_AGGRESSIVENESS_DEFAULT = 0 ,
  PJMEDIA_ECHO_AGGRESSIVENESS_CONSERVATIVE = 0x1000 ,
  PJMEDIA_ECHO_AGGRESSIVENESS_MODERATE = 0x2000 ,
  PJMEDIA_ECHO_AGGRESSIVENESS_AGGRESSIVE = 0x3000 ,
  PJMEDIA_ECHO_AGGRESSIVENESS_MASK = 0xF000
}
 

Functions

void pjmedia_echo_stat_default (pjmedia_echo_stat *stat)
 
pj_status_t pjmedia_echo_create (pj_pool_t *pool, unsigned clock_rate, unsigned samples_per_frame, unsigned tail_ms, unsigned latency_ms, unsigned options, pjmedia_echo_state **p_echo)
 
pj_status_t pjmedia_echo_create2 (pj_pool_t *pool, unsigned clock_rate, unsigned channel_count, unsigned samples_per_frame, unsigned tail_ms, unsigned latency_ms, unsigned options, pjmedia_echo_state **p_echo)
 
pj_status_t pjmedia_echo_destroy (pjmedia_echo_state *echo)
 
pj_status_t pjmedia_echo_reset (pjmedia_echo_state *echo)
 
pj_status_t pjmedia_echo_get_stat (pjmedia_echo_state *echo, pjmedia_echo_stat *p_stat)
 
pj_status_t pjmedia_echo_playback (pjmedia_echo_state *echo, pj_int16_t *play_frm)
 
pj_status_t pjmedia_echo_capture (pjmedia_echo_state *echo, pj_int16_t *rec_frm, unsigned options)
 
pj_status_t pjmedia_echo_cancel (pjmedia_echo_state *echo, pj_int16_t *rec_frm, const pj_int16_t *play_frm, unsigned options, void *reserved)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.