• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer ReplayGain plugin
2  *
3  * Copyright (C) 2006 Rene Stadler <mail@renestadler.de>
4  *
5  * replaygain.c: Plugin providing ReplayGain related elements
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1 of
10  * the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20  * 02110-1301 USA
21  */
22 
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26 
27 #include <gst/gst.h>
28 
29 #include "gstrganalysis.h"
30 #include "gstrglimiter.h"
31 #include "gstrgvolume.h"
32 
33 static gboolean
plugin_init(GstPlugin * plugin)34 plugin_init (GstPlugin * plugin)
35 {
36   gboolean ret = FALSE;
37 
38   ret |= GST_ELEMENT_REGISTER (rganalysis, plugin);
39   ret |= GST_ELEMENT_REGISTER (rglimiter, plugin);
40   ret |= GST_ELEMENT_REGISTER (rgvolume, plugin);
41 
42   return ret;
43 }
44 
45 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, replaygain,
46     "ReplayGain volume normalization", plugin_init, VERSION, GST_LICENSE,
47     GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
48