Changeset 1417 for pjproject/trunk/pjmedia/src/pjmedia/echo_common.c
- Timestamp:
- Aug 16, 2007 10:11:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/echo_common.c
r1269 r1417 22 22 #include <pj/assert.h> 23 23 #include <pj/pool.h> 24 24 #include "echo_internal.h" 25 25 26 26 typedef struct ec_operations ec_operations; … … 56 56 57 57 58 59 /*60 * Simple echo suppressor61 */62 PJ_DECL(pj_status_t) echo_supp_create(pj_pool_t *pool,63 unsigned clock_rate,64 unsigned samples_per_frame,65 unsigned tail_ms,66 unsigned latency_ms,67 unsigned options,68 void **p_state );69 PJ_DECL(pj_status_t) echo_supp_destroy(void *state);70 PJ_DECL(pj_status_t) echo_supp_playback(void *state,71 pj_int16_t *play_frm );72 PJ_DECL(pj_status_t) echo_supp_capture(void *state,73 pj_int16_t *rec_frm,74 unsigned options );75 PJ_DECL(pj_status_t) echo_supp_cancel_echo(void *state,76 pj_int16_t *rec_frm,77 const pj_int16_t *play_frm,78 unsigned options,79 void *reserved );80 81 58 static struct ec_operations echo_supp_op = 82 59 { … … 94 71 */ 95 72 #if defined(PJMEDIA_HAS_SPEEX_AEC) && PJMEDIA_HAS_SPEEX_AEC!=0 96 PJ_DECL(pj_status_t) speex_aec_create(pj_pool_t *pool,97 unsigned clock_rate,98 unsigned samples_per_frame,99 unsigned tail_ms,100 unsigned latency_ms,101 unsigned options,102 void **p_state );103 PJ_DECL(pj_status_t) speex_aec_destroy(void *state );104 PJ_DECL(pj_status_t) speex_aec_playback(void *state,105 pj_int16_t *play_frm );106 PJ_DECL(pj_status_t) speex_aec_capture(void *state,107 pj_int16_t *rec_frm,108 unsigned options );109 PJ_DECL(pj_status_t) speex_aec_cancel_echo(void *state,110 pj_int16_t *rec_frm,111 const pj_int16_t *play_frm,112 unsigned options,113 void *reserved );114 115 73 static struct ec_operations aec_op = 116 74 {
Note: See TracChangeset
for help on using the changeset viewer.