1 /*** 2 This file is part of PulseAudio. 3 4 Copyright 2010 Arun Raghavan <arun.raghavan@collabora.co.uk> 5 6 The actual implementation is taken from the sources at 7 http://andreadrian.de/intercom/ - for the license, look for 8 adrian-license.txt in the same directory as this file. 9 10 PulseAudio is free software; you can redistribute it and/or modify 11 it under the terms of the GNU Lesser General Public License as published 12 by the Free Software Foundation; either version 2.1 of the License, 13 or (at your option) any later version. 14 15 PulseAudio is distributed in the hope that it will be useful, but 16 WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 General Public License for more details. 19 20 You should have received a copy of the GNU Lesser General Public License 21 along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 22 ***/ 23 24 /* Forward declarations */ 25 26 typedef struct AEC AEC; 27 28 AEC* AEC_init(int RATE, int have_vector); 29 void AEC_done(AEC *a); 30 int AEC_doAEC(AEC *a, int d_, int x_); 31