]> sjero.net Git - linphone/blob - linphone/mediastreamer2/include/mediastreamer2/msspeexec.h
e9bc24d26f6eb4119b5c6b3692d482ecc2afb350
[linphone] / linphone / mediastreamer2 / include / mediastreamer2 / msspeexec.h
1 /*
2 mediastreamer2 library - modular sound and video processing and streaming
3 Copyright (C) 2006-2009  Simon MORLAT (simon.morlat@linphone.org)
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
19 msspeexec.h : interface of the speex echo canceler integration in mediastreamer2
20
21 */
22
23 #ifndef msspeexec_h
24 #define msspeexec_h
25
26 #include <mediastreamer2/msfilter.h>
27
28 /** sets the tail length in milliseconds*/
29 #define MS_SPEEX_EC_SET_TAIL_LENGTH     MS_FILTER_METHOD(MS_SPEEX_EC_ID,0,int)
30
31 /** sets the minimum delay of the echo if known. This optimizes the convergence*/
32 #define MS_SPEEX_EC_SET_DELAY           MS_FILTER_METHOD(MS_SPEEX_EC_ID,1,int)
33
34 /** sets the frame size for the AU-MDF algorithm, in number of fft points*/
35 #define MS_SPEEX_EC_SET_FRAME_SIZE      MS_FILTER_METHOD(MS_SPEEX_EC_ID,2,int)
36
37
38 #endif