"Fossies" - the Fresh Open Source Software Archive

Member "gst-plugins-good-1.20.3/gst/audiofx/audiofx.c" (15 Jun 2022, 2450 Bytes) of package /linux/misc/gst-plugins-good-1.20.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "audiofx.c" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.18.6_vs_1.20.0.

    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   gboolean ret = FALSE;
   51 
   52   ret |= GST_ELEMENT_REGISTER (audiopanorama, plugin);
   53   ret |= GST_ELEMENT_REGISTER (audioinvert, plugin);
   54   ret |= GST_ELEMENT_REGISTER (audiokaraoke, plugin);
   55   ret |= GST_ELEMENT_REGISTER (audioamplify, plugin);
   56   ret |= GST_ELEMENT_REGISTER (audiodynamic, plugin);
   57   ret |= GST_ELEMENT_REGISTER (audiocheblimit, plugin);
   58   ret |= GST_ELEMENT_REGISTER (audiochebband, plugin);
   59   ret |= GST_ELEMENT_REGISTER (audioiirfilter, plugin);
   60   ret |= GST_ELEMENT_REGISTER (audiowsinclimit, plugin);
   61   ret |= GST_ELEMENT_REGISTER (audiowsincband, plugin);
   62   ret |= GST_ELEMENT_REGISTER (audiofirfilter, plugin);
   63   ret |= GST_ELEMENT_REGISTER (audioecho, plugin);
   64   ret |= GST_ELEMENT_REGISTER (scaletempo, plugin);
   65   ret |= GST_ELEMENT_REGISTER (stereo, plugin);
   66 
   67   return ret;
   68 }
   69 
   70 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
   71     GST_VERSION_MINOR,
   72     audiofx,
   73     "Audio effects plugin",
   74     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)