docs/plugins/: cleanup -unused.txt to make it useful, add previously missing docs
authorStefan Kost <ensonic@users.sourceforge.net>
Sun, 20 Aug 2006 13:06:44 +0000 (13:06 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Sun, 20 Aug 2006 13:06:44 +0000 (13:06 +0000)
Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-audiofxgood.xml:
cleanup -unused.txt to make it useful, add previously missing docs
* ext/Makefile.am:
* ext/esd/esdmon.c:
* ext/esd/esdsink.c:
* ext/esd/gstesd.c: (plugin_init):
reflow to get rid of two external symbols
* gst/audiofxgood/audiofx.c: (plugin_init):
re-add

ChangeLog
docs/plugins/gst-plugins-good-plugins-docs.sgml
docs/plugins/gst-plugins-good-plugins-sections.txt
docs/plugins/inspect/plugin-audiofxgood.xml [new file with mode: 0644]
ext/Makefile.am
ext/esd/esdmon.c
ext/esd/esdsink.c
ext/esd/gstesd.c
gst/audiopanorama/audiofx.c [new file with mode: 0644]

index 05a7f13..38da2d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
 
+       * docs/plugins/gst-plugins-good-plugins-docs.sgml:
+       * docs/plugins/gst-plugins-good-plugins-sections.txt:
+       * docs/plugins/inspect/plugin-audiofxgood.xml:
+          cleanup -unused.txt to make it useful, add previously missing docs
+
+       * ext/Makefile.am:
+       * ext/esd/esdmon.c:
+       * ext/esd/esdsink.c:
+       * ext/esd/gstesd.c: (plugin_init):
+          reflow to get rid of two external symbols
+
+       * gst/audiofxgood/audiofx.c: (plugin_init):
+          re-add
+
+2006-08-20  Stefan Kost  <ensonic@users.sf.net>
+
        * configure.ac:
        * gst/audiofxgood/.cvsignore:
        * gst/audiofxgood/Makefile.am:
index e860e0f..2630640 100644 (file)
@@ -14,6 +14,7 @@
     <title>gst-plugins-good Elements</title>
     <xi:include href="xml/element-apedemux.xml" />
     <xi:include href="xml/element-apev2mux.xml" />
+    <xi:include href="xml/element-audiopanorama.xml" />
     <xi:include href="xml/element-autoaudiosink.xml" />
     <xi:include href="xml/element-autovideosink.xml" />
     <xi:include href="xml/element-avidemux.xml" />
@@ -21,6 +22,7 @@
     <xi:include href="xml/element-cairotimeoverlay.xml" />
     <xi:include href="xml/element-cdiocddasrc.xml" />
     <xi:include href="xml/element-cmmldec.xml" />
+    <xi:include href="xml/element-cmmlenc.xml" />
     <xi:include href="xml/element-dvdec.xml" />
     <xi:include href="xml/element-dvdemux.xml" />
     <xi:include href="xml/element-esdsink.xml" />
@@ -44,6 +46,7 @@
     <xi:include href="xml/element-rtpdec.xml" />
     <xi:include href="xml/element-smokedec.xml" />
     <xi:include href="xml/element-smokeenc.xml" />
+    <xi:include href="xml/element-taglibmux.xml" />
     <xi:include href="xml/element-udpsrc.xml" />
     <xi:include href="xml/element-videobalance.xml" />
     <xi:include href="xml/element-videoflip.xml" />
@@ -62,6 +65,7 @@
     <xi:include href="xml/plugin-alphacolor.xml" />
     <xi:include href="xml/plugin-annodex.xml" />
     <xi:include href="xml/plugin-apetag.xml" />
+    <xi:include href="xml/plugin-audiofxgood.xml" />
     <xi:include href="xml/plugin-autodetect.xml" />
     <xi:include href="xml/plugin-avi.xml" />
     <xi:include href="xml/plugin-cacasink.xml" />
index 7fb21a4..c0e33e1 100644 (file)
@@ -28,13 +28,27 @@ gst_apev2_mux_plugin_init
 </SECTION>
 
 <SECTION>
+<FILE>element-audiopanorama</FILE>
+GstAudioPanorama
+<TITLE>audiopanorama</TITLE>
+<SUBSECTION Standard>
+GstAudioPanoramaClass
+GST_AUDIO_PANORAMA
+GST_AUDIO_PANORAMA_CLASS
+</SECTION>
+
+<SECTION>
 <FILE>element-autoaudiosink</FILE>
 GstAutoAudioSink
 <TITLE>autoaudiosink</TITLE>
 <SUBSECTION Standard>
 GstAutoAudioSinkClass
+GST_TYPE_AUTO_AUDIO_SINK
 GST_AUTO_AUDIO_SINK
 GST_AUTO_AUDIO_SINK_CLASS
+GST_IS_AUTO_AUDIO_SINK
+GST_IS_AUTO_AUDIO_SINK_CLASS
+gst_auto_audio_sink_get_type
 </SECTION>
 
 <SECTION>
@@ -43,8 +57,12 @@ GstAutoVideoSink
 <TITLE>autovideosink</TITLE>
 <SUBSECTION Standard>
 GstAutoVideoSinkClass
+GST_TYPE_AUTO_VIDEO_SINK
 GST_AUTO_VIDEO_SINK
 GST_AUTO_VIDEO_SINK_CLASS
+GST_IS_AUTO_VIDEO_SINK
+GST_IS_AUTO_VIDEO_SINK_CLASS
+gst_auto_video_sink_get_type
 </SECTION>
 
 <SECTION>
@@ -53,9 +71,13 @@ GstAviDemux
 <TITLE>avidemux</TITLE>
 <SUBSECTION Standard>
 GstAviDemuxClass
+GST_TYPE_AVI_DEMUX
 GST_AVI_DEMUX
 GST_AVI_DEMUX_CLASS
+GST_IS_AVI_DEMUX
+GST_IS_AVI_DEMUX_CLASS
 GST_AVI_DEMUX_MAX_STREAMS
+gst_avi_demux_get_type
 </SECTION>
 
 <SECTION>
@@ -64,8 +86,12 @@ GstAviMux
 <TITLE>avimux</TITLE>
 <SUBSECTION Standard>
 GstAviMuxClass
+GST_TYPE_AVI_MUX
 GST_AVI_MUX
 GST_AVI_MUX_CLASS
+GST_IS_AVI_MUX
+GST_IS_AVI_MUX_CLASS
+gst_avi_mux_get_type
 </SECTION>
 
 <SECTION>
@@ -74,8 +100,12 @@ GstCairoTimeOverlay
 <TITLE>cairotimeoverlay</TITLE>
 <SUBSECTION Standard>
 GstCairoTimeOverlayClass
+GST_TYPE_CAIRO_TIME_OVERLAY
 GST_CAIRO_TIME_OVERLAY
 GST_CAIRO_TIME_OVERLAY_CLASS
+GST_IS_CAIRO_TIME_OVERLAY
+GST_IS_CAIRO_TIME_OVERLAY_CLASS
+gst_cairo_time_overlay_get_type
 </SECTION>
 
 <SECTION>
@@ -84,6 +114,28 @@ GstCmmlDec
 <TITLE>cmmldec</TITLE>
 <SUBSECTION Standard>
 GstCmmlDecClass
+GST_TYPE_CMML_DEC
+GST_CMML_DEC
+GST_CMML_DEC_CLASS
+GST_CMML_DEC_GET_CLASS
+GST_IS_CMML_DEC
+GST_IS_CMML_DEC_CLASS
+gst_cmml_dec_plugin_init
+</SECTION>
+
+<SECTION>
+<FILE>element-cmmlenc</FILE>
+GstCmmlEnc
+<TITLE>cmmlenc</TITLE>
+<SUBSECTION Standard>
+GstCmmlEncClass
+GST_TYPE_CMML_ENC
+GST_CMML_ENC
+GST_CMML_ENC_CLASS
+GST_CMML_ENC_GET_CLASS
+GST_IS_CMML_ENC
+GST_IS_CMML_ENC_CLASS
+gst_cmml_enc_plugin_init
 </SECTION>
 
 <SECTION>
@@ -92,8 +144,12 @@ GstCdioCddaSrc
 <TITLE>cdiocddasrc</TITLE>
 <SUBSECTION Standard>
 GstCdioCddaSrcClass
+GST_TYPE_CDIO_CDDA_SRC
 GST_CDIO_CDDA_SRC
 GST_CDIO_CDDA_SRC_CLASS
+GST_IS_CDIO_CDDA_SRC
+GST_IS_CDIO_CDDA_SRC_CLASS
+gst_cdio_cdda_src_get_type
 </SECTION>
 
 <SECTION>
@@ -102,8 +158,12 @@ GstDVDec
 <TITLE>dvdec</TITLE>
 <SUBSECTION Standard>
 GstDVDecClass
+GST_TYPE_DVDEC
 GST_DVDEC
 GST_DVDEC_CLASS
+GST_IS_DVDEC
+GST_IS_DVDEC_CLASS
+gst_dvdec_get_type
 </SECTION>
 
 <SECTION>
@@ -112,8 +172,12 @@ GstDVDemux
 <TITLE>dvdemux</TITLE>
 <SUBSECTION Standard>
 GstDVDemuxClass
+GST_TYPE_DVDEMUX
 GST_DVDEMUX
 GST_DVDEMUX_CLASS
+GST_IS_DVDEMUX
+GST_IS_DVDEMUX_CLASS
+gst_dvdemux_get_type
 </SECTION>
 
 <SECTION>
@@ -122,8 +186,12 @@ GstEsdSink
 <TITLE>esdsink</TITLE>
 <SUBSECTION Standard>
 GstEsdSinkClass
+GST_TYPE_ESDSINK
 GST_ESDSINK
 GST_ESDSINK_CLASS
+GST_IS_ESDSINK
+GST_IS_ESDSINK_CLASS
+gst_esdsink_get_type
 </SECTION>
 
 <SECTION>
@@ -132,8 +200,12 @@ GstFlacDec
 <TITLE>flacdec</TITLE>
 <SUBSECTION Standard>
 GstFlacDecClass
+GST_TYPE_FLAC_DEC
 GST_FLAC_DEC
 GST_FLAC_DEC_CLASS
+GST_IS_FLAC_DEC
+GST_IS_FLAC_DEC_CLASS
+gst_flac_dec_get_type
 </SECTION>
 
 <SECTION>
@@ -146,9 +218,9 @@ GOOM_SAMPLES
 GST_GOOM
 GST_IS_GOOM
 GST_TYPE_GOOM
-gst_goom_get_type
 GST_GOOM_CLASS
 GST_IS_GOOM_CLASS
+gst_goom_get_type
 </SECTION>
 
 <SECTION>
@@ -157,8 +229,12 @@ GstHalAudioSink
 <TITLE>halaudiosink</TITLE>
 <SUBSECTION Standard>
 GstHalAudioSinkClass
+GST_TYPE_HAL_AUDIO_SINK
 GST_HAL_AUDIO_SINK
 GST_HAL_AUDIO_SINK_CLASS
+GST_IS_HAL_AUDIO_SINK
+GST_IS_HAL_AUDIO_SINK_CLASS
+gst_hal_audio_sink_get_type
 </SECTION>
 
 <SECTION>
@@ -167,8 +243,12 @@ GstHalAudioSrc
 <TITLE>halaudiosrc</TITLE>
 <SUBSECTION Standard>
 GstHalAudioSrcClass
+GST_TYPE_HAL_AUDIO_SRC
 GST_HAL_AUDIO_SRC
 GST_HAL_AUDIO_SRC_CLASS
+GST_IS_HAL_AUDIO_SRC
+GST_IS_HAL_AUDIO_SRC_CLASS
+gst_hal_audio_src_get_type
 </SECTION>
 
 <SECTION>
@@ -177,6 +257,12 @@ GstICYDemux
 <TITLE>icydemux</TITLE>
 <SUBSECTION Standard>
 GstICYDemuxClass
+GST_TYPE_ICYDEMUX
+GST_ICYDEMUX
+GST_ICYDEMUX_CLASS
+GST_IS_ICYDEMUX
+GST_IS_ICYDEMUX_CLASS
+gst_icydemux_get_type
 </SECTION>
 
 <SECTION>
@@ -185,8 +271,12 @@ GstID3Demux
 <TITLE>id3demux</TITLE>
 <SUBSECTION Standard>
 GstID3DemuxClass
+GST_TYPE_ID3DEMUX
 GST_ID3DEMUX
 GST_ID3DEMUX_CLASS
+GST_IS_ID3DEMUX
+GST_IS_ID3DEMUX_CLASS
+gst_id3demux_get_type
 </SECTION>
 
 <SECTION>
@@ -195,8 +285,12 @@ GstId3v2Mux
 <TITLE>id3v2mux</TITLE>
 <SUBSECTION Standard>
 GstId3v2MuxClass
+GST_TYPE_ID3V2_MUX
 GST_ID3V2_MUX
 GST_ID3V2_MUX_CLASS
+GST_IS_ID3V2_MUX
+GST_IS_ID3V2_MUX_CLASS
+gst_id3v2_mux_get_type
 </SECTION>
 
 <SECTION>
@@ -210,9 +304,9 @@ GstJpegDecClass
 GST_JPEG_DEC
 GST_IS_JPEG_DEC
 GST_TYPE_JPEG_DEC
-gst_jpeg_dec_get_type
 GST_JPEG_DEC_CLASS
 GST_IS_JPEG_DEC_CLASS
+gst_jpeg_dec_get_type
 </SECTION>
 
 <SECTION>
@@ -224,9 +318,9 @@ GstJpegEncClass
 GST_JPEGENC
 GST_IS_JPEGENC
 GST_TYPE_JPEGENC
-gst_jpegenc_get_type
 GST_JPEGENC_CLASS
 GST_IS_JPEGENC_CLASS
+gst_jpegenc_get_type
 </SECTION>
 
 <SECTION>
@@ -235,6 +329,13 @@ GstLevel
 <TITLE>level</TITLE>
 <SUBSECTION Standard>
 GstLevelClass
+GST_TYPE_LEVEL
+GST_LEVEL
+GST_LEVEL_CLASS
+GST_LEVEL_GET_CLASS
+GST_IS_LEVEL
+GST_IS_LEVEL_CLASS
+gst_level_get_type
 </SECTION>
 
 <SECTION>
@@ -243,6 +344,13 @@ GstMultipartMux
 <TITLE>multipartmux</TITLE>
 <SUBSECTION Standard>
 GstMultipartMuxClass
+GST_TYPE_MULTIPART_MUX
+GST_MULTIPART_MUX
+GST_MULTIPART_MUX_CLASS
+GST_IS_MULTIPART_MUX
+GST_IS_MULTIPART_MUX_CLASS
+gst_multipart_mux_get_type
+gst_multipart_mux_plugin_init
 </SECTION>
 
 <SECTION>
@@ -251,6 +359,13 @@ GstMultipartDemux
 <TITLE>multipartdemux</TITLE>
 <SUBSECTION Standard>
 GstMultipartDemuxClass
+GST_TYPE_MULTIPART_DEMUX
+GST_MULTIPART_DEMUX
+GST_MULTIPART_DEMUX_CLASS
+GST_IS_MULTIPART_DEMUX
+GST_IS_MULTIPART_DEMUX_CLASS
+gst_multipart_demux_get_type
+gst_multipart_demux_plugin_init
 </SECTION>
 
 <SECTION>
@@ -267,9 +382,9 @@ gst_multiudpsink_get_stats
 GST_MULTIUDPSINK
 GST_IS_MULTIUDPSINK
 GST_TYPE_MULTIUDPSINK
-gst_multiudpsink_get_type
 GST_MULTIUDPSINK_CLASS
 GST_IS_MULTIUDPSINK_CLASS
+gst_multiudpsink_get_type
 </SECTION>
 
 <SECTION>
@@ -278,6 +393,12 @@ GstOssMixerElement
 <TITLE>ossmixer</TITLE>
 <SUBSECTION Standard>
 GstOssMixerElementClass
+GST_OSS_MIXER_ELEMENT
+GST_OSS_MIXER_ELEMENT_CLASS
+GST_IS_OSS_MIXER_ELEMENT
+GST_IS_OSS_MIXER_ELEMENT_CLASS
+GST_TYPE_OSS_MIXER_ELEMENT
+gst_oss_mixer_element_get_type
 </SECTION>
 
 <SECTION>
@@ -286,6 +407,12 @@ GstOssSink
 <TITLE>osssink</TITLE>
 <SUBSECTION Standard>
 GstOssSinkClass
+GST_TYPE_OSSSINK
+GST_OSSSINK
+GST_OSSSINK_CLASS
+GST_IS_OSSSINK
+GST_IS_OSSSINK_CLASS
+gst_oss_sink_get_type
 </SECTION>
 
 <SECTION>
@@ -294,6 +421,12 @@ GstOssSrc
 <TITLE>osssrc</TITLE>
 <SUBSECTION Standard>
 GstOssSrcClass
+GST_TYPE_OSS_SRC
+GST_OSS_SRC
+GST_OSS_SRC_CLASS
+GST_IS_OSS_SRC
+GST_IS_OSS_SRC_CLASS
+gst_oss_src_get_type
 </SECTION>
 
 <SECTION>
@@ -356,6 +489,21 @@ GST_IS_SMOKEENC_CLASS
 </SECTION>
 
 <SECTION>
+<FILE>element-taglibmux</FILE>
+GstTagLibMux
+<TITLE>taglibmux</TITLE>
+<SUBSECTION Standard>
+GstTagLibMuxClass
+GST_TYPE_TAG_LIB_MUX
+GST_TAG_LIB_MUX
+GST_TAG_LIB_MUX_CLASS
+GST_IS_TAG_LIB_MUX
+GST_IS_TAG_LIB_MUX_CLASS
+gst_tag_lib_mux_get_type
+</SECTION>
+
+
+<SECTION>
 <FILE>element-udpsrc</FILE>
 GstUDPSrc
 <TITLE>udpsrc</TITLE>
diff --git a/docs/plugins/inspect/plugin-audiofxgood.xml b/docs/plugins/inspect/plugin-audiofxgood.xml
new file mode 100644 (file)
index 0000000..33f6e45
--- /dev/null
@@ -0,0 +1,20 @@
+<plugin>
+  <name>audiofxgood</name>
+  <description>Audio effects plugin</description>
+  <filename>../../gst/audiofxgood/.libs/libgstaudiofxgood.so</filename>
+  <basename>libgstaudiofxgood.so</basename>
+  <version>0.10.4.1</version>
+  <license>LGPL</license>
+  <source>gst-plugins-good</source>
+  <package>GStreamer</package>
+  <origin>http://gstreamer.net/</origin>
+  <elements>
+    <element>
+      <name>audiopanorama</name>
+      <longname>AudioPanorama</longname>
+      <class>Filter/Effect/Audio</class>
+      <description>Positions audio streams in the stereo panorama</description>
+      <author>Stefan Kost &lt;ensonic@users.sf.net&gt;</author>
+    </element>
+  </elements>
+</plugin>
\ No newline at end of file
index ec470ba..2626f65 100644 (file)
@@ -58,11 +58,11 @@ else
 JPEG_DIR =
 endif
 
-if USE_LADSPA
-LADSPA_DIR = ladspa
-else
+if USE_LADSPA
+LADSPA_DIR = ladspa
+else
 LADSPA_DIR =
-endif
+endif
 
 if USE_LIBCACA
 LIBCACA_DIR = libcaca
index 6a97e23..2e10f2b 100644 (file)
@@ -359,15 +359,6 @@ gst_esdmon_get_property (GObject * object, guint prop_id, GValue * value,
   }
 }
 
-gboolean
-gst_esdmon_factory_init (GstPlugin * plugin)
-{
-  if (!gst_element_register (plugin, "esdmon", GST_RANK_NONE, GST_TYPE_ESDMON))
-    return FALSE;
-
-  return TRUE;
-}
-
 static gboolean
 gst_esdmon_open_audio (GstEsdmon * src)
 {
index 6ab2612..3a868d4 100644 (file)
@@ -470,13 +470,3 @@ gst_esdsink_get_property (GObject * object, guint prop_id, GValue * value,
       break;
   }
 }
-
-gboolean
-gst_esdsink_factory_init (GstPlugin * plugin)
-{
-  if (!gst_element_register (plugin, "esdsink", GST_RANK_MARGINAL,
-          GST_TYPE_ESDSINK))
-    return FALSE;
-
-  return TRUE;
-}
index 62554d0..71fc30b 100644 (file)
@@ -33,12 +33,12 @@ GST_DEBUG_CATEGORY (esd_debug);
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
-  if (!gst_esdsink_factory_init (plugin))
+  if (!gst_element_register (plugin, "esdsink", GST_RANK_MARGINAL,
+          GST_TYPE_ESDSINK))
     return FALSE;
 
 #if 0
-  ret = gst_esdmon_factory_init (plugin);
-  if (ret == FALSE)
+  if (!gst_element_register (plugin, "esdmon", GST_RANK_NONE, GST_TYPE_ESDMON))
     return FALSE;
 #endif
 
diff --git a/gst/audiopanorama/audiofx.c b/gst/audiopanorama/audiofx.c
new file mode 100644 (file)
index 0000000..9b0a071
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * GStreamer
+ * Copyright (C) 2006 Stefan Kost <ensonic@users.sf.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <gst/gst.h>
+#include <gst/controller/gstcontroller.h>
+
+#include "audiopanorama.h"
+
+/* entry point to initialize the plug-in
+ * initialize the plug-in itself
+ * register the element factories and pad templates
+ * register the features
+ */
+static gboolean
+plugin_init (GstPlugin * plugin)
+{
+  /* initialize gst controller library */
+  gst_controller_init (NULL, NULL);
+
+  return gst_element_register (plugin, "audiopanorama", GST_RANK_NONE,
+      GST_TYPE_AUDIO_PANORAMA);
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+    GST_VERSION_MINOR,
+    "audiofxgood",
+    "Audio effects plugin",
+    plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")