00001 /* -*- Mode: C -*- 00002 * Worldvisions Weaver Software: 00003 * Copyright (C) 1997-2003 Net Integration Technologies, Inc. 00004 * 00005 * Telephony routines: echo cancellation, dc offset removal, automatic 00006 * gain control, etc. 00007 * 00008 * This is all implemented in plain old C so that it cooperates will with 00009 * kernel drivers. 00010 */ 00011 #ifndef TELEPHONY_H 00012 #define TELEPHONY_H 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 #include <string.h> /* To get size_t */ 00019 00020 extern void echo_cancel(const short *out_buf, 00021 const short *in, 00022 size_t block_size, 00023 int *filter_q16, 00024 size_t filter_size, 00025 short *echo_cancelled_in); 00026 00027 #ifdef __cplusplus 00028 }; 00029 #endif 00030 #endif