aacparse: fix wrong offset of adts channel
[platform/upstream/gst-plugins-good.git] / gst / audiofx / audiofx.c
1 /*
2  * GStreamer
3  * Copyright (C) 2006 Stefan Kost <ensonic@users.sf.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library 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 GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20
21 #ifdef HAVE_CONFIG_H
22 #include "config.h"
23 #endif
24
25 #include <gst/gst.h>
26
27 #include "audiopanorama.h"
28 #include "audioinvert.h"
29 #include "audiokaraoke.h"
30 #include "audioamplify.h"
31 #include "audiodynamic.h"
32 #include "audiocheblimit.h"
33 #include "audiochebband.h"
34 #include "audioiirfilter.h"
35 #include "audiowsincband.h"
36 #include "audiowsinclimit.h"
37 #include "audiofirfilter.h"
38 #include "audioecho.h"
39 #include "gstscaletempo.h"
40 #include "gststereo.h"
41
42 /* entry point to initialize the plug-in
43  * initialize the plug-in itself
44  * register the element factories and pad templates
45  * register the features
46  */
47 static gboolean
48 plugin_init (GstPlugin * plugin)
49 {
50   return (gst_element_register (plugin, "audiopanorama", GST_RANK_NONE,
51           GST_TYPE_AUDIO_PANORAMA) &&
52       gst_element_register (plugin, "audioinvert", GST_RANK_NONE,
53           GST_TYPE_AUDIO_INVERT) &&
54       gst_element_register (plugin, "audiokaraoke", GST_RANK_NONE,
55           GST_TYPE_AUDIO_KARAOKE) &&
56       gst_element_register (plugin, "audioamplify", GST_RANK_NONE,
57           GST_TYPE_AUDIO_AMPLIFY) &&
58       gst_element_register (plugin, "audiodynamic", GST_RANK_NONE,
59           GST_TYPE_AUDIO_DYNAMIC) &&
60       gst_element_register (plugin, "audiocheblimit", GST_RANK_NONE,
61           GST_TYPE_AUDIO_CHEB_LIMIT) &&
62       gst_element_register (plugin, "audiochebband", GST_RANK_NONE,
63           GST_TYPE_AUDIO_CHEB_BAND) &&
64       gst_element_register (plugin, "audioiirfilter", GST_RANK_NONE,
65           GST_TYPE_AUDIO_IIR_FILTER) &&
66       gst_element_register (plugin, "audiowsinclimit", GST_RANK_NONE,
67           GST_TYPE_AUDIO_WSINC_LIMIT) &&
68       gst_element_register (plugin, "audiowsincband", GST_RANK_NONE,
69           GST_TYPE_AUDIO_WSINC_BAND) &&
70       gst_element_register (plugin, "audiofirfilter", GST_RANK_NONE,
71           GST_TYPE_AUDIO_FIR_FILTER) &&
72       gst_element_register (plugin, "audioecho", GST_RANK_NONE,
73           GST_TYPE_AUDIO_ECHO) &&
74       gst_element_register (plugin, "scaletempo", GST_RANK_NONE,
75           GST_TYPE_SCALETEMPO) &&
76       gst_element_register (plugin, "stereo", GST_RANK_NONE, GST_TYPE_STEREO));
77 }
78
79 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
80     GST_VERSION_MINOR,
81     audiofx,
82     "Audio effects plugin",
83     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)