2
* Farsight Voice+Video library
4
* Copyright 2008 Collabora Ltd
5
* Copyright 2008 Nokia Corporation
6
* @author: Olivier Crete <olivier.crete@collabora.co.uk>
7
* Copyright 2009 Barracuda Networks, Inc
8
* @author: Justin Karneges <justin@affinix.com>
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2.1 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
31
#include <gst/audio/audio.h>
33
#include "speexechoprobe.h"
35
/* dsp/probe use these to discover each other */
36
GStaticMutex global_mutex = G_STATIC_MUTEX_INIT;
37
GstSpeexDSP * global_dsp = NULL;
38
GstSpeexEchoProbe * global_probe = NULL;
41
plugin_init (GstPlugin * plugin)
43
if (!gst_element_register (plugin, "speexdsp", GST_RANK_NONE,
44
GST_TYPE_SPEEX_DSP)) {
47
if (!gst_element_register (plugin, "speexechoprobe", GST_RANK_NONE,
48
GST_TYPE_SPEEX_ECHO_PROBE)) {
55
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
58
"Voice preprocessing using libspeex",
59
plugin_init, VERSION, "LGPL", "Farsight", "http://farsight.sf.net")