diff --git a/ChangeLog b/ChangeLog index 05a7f13aea..38da2d872d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2006-08-20 Stefan Kost + + * 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 * configure.ac: diff --git a/docs/plugins/gst-plugins-good-plugins-docs.sgml b/docs/plugins/gst-plugins-good-plugins-docs.sgml index e860e0f7e2..2630640a00 100644 --- a/docs/plugins/gst-plugins-good-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-good-plugins-docs.sgml @@ -14,6 +14,7 @@ gst-plugins-good Elements + @@ -21,6 +22,7 @@ + @@ -44,6 +46,7 @@ + @@ -62,6 +65,7 @@ + diff --git a/docs/plugins/gst-plugins-good-plugins-sections.txt b/docs/plugins/gst-plugins-good-plugins-sections.txt index 7fb21a41cd..c0e33e1c3c 100644 --- a/docs/plugins/gst-plugins-good-plugins-sections.txt +++ b/docs/plugins/gst-plugins-good-plugins-sections.txt @@ -27,14 +27,28 @@ GST_IS_APEV2_MUX_CLASS gst_apev2_mux_plugin_init +
+element-audiopanorama +GstAudioPanorama +audiopanorama + +GstAudioPanoramaClass +GST_AUDIO_PANORAMA +GST_AUDIO_PANORAMA_CLASS +
+
element-autoaudiosink GstAutoAudioSink autoaudiosink 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
@@ -43,8 +57,12 @@ GstAutoVideoSink autovideosink 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
@@ -53,9 +71,13 @@ GstAviDemux avidemux 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
@@ -64,8 +86,12 @@ GstAviMux avimux 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
@@ -74,8 +100,12 @@ GstCairoTimeOverlay cairotimeoverlay 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
@@ -84,6 +114,28 @@ GstCmmlDec cmmldec 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 +
+ +
+element-cmmlenc +GstCmmlEnc +cmmlenc + +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
@@ -92,8 +144,12 @@ GstCdioCddaSrc cdiocddasrc 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
@@ -102,8 +158,12 @@ GstDVDec dvdec GstDVDecClass +GST_TYPE_DVDEC GST_DVDEC GST_DVDEC_CLASS +GST_IS_DVDEC +GST_IS_DVDEC_CLASS +gst_dvdec_get_type
@@ -112,8 +172,12 @@ GstDVDemux dvdemux GstDVDemuxClass +GST_TYPE_DVDEMUX GST_DVDEMUX GST_DVDEMUX_CLASS +GST_IS_DVDEMUX +GST_IS_DVDEMUX_CLASS +gst_dvdemux_get_type
@@ -122,8 +186,12 @@ GstEsdSink esdsink GstEsdSinkClass +GST_TYPE_ESDSINK GST_ESDSINK GST_ESDSINK_CLASS +GST_IS_ESDSINK +GST_IS_ESDSINK_CLASS +gst_esdsink_get_type
@@ -132,8 +200,12 @@ GstFlacDec flacdec 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
@@ -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
@@ -157,8 +229,12 @@ GstHalAudioSink halaudiosink 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
@@ -167,8 +243,12 @@ GstHalAudioSrc halaudiosrc 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
@@ -177,6 +257,12 @@ GstICYDemux icydemux GstICYDemuxClass +GST_TYPE_ICYDEMUX +GST_ICYDEMUX +GST_ICYDEMUX_CLASS +GST_IS_ICYDEMUX +GST_IS_ICYDEMUX_CLASS +gst_icydemux_get_type
@@ -185,8 +271,12 @@ GstID3Demux id3demux GstID3DemuxClass +GST_TYPE_ID3DEMUX GST_ID3DEMUX GST_ID3DEMUX_CLASS +GST_IS_ID3DEMUX +GST_IS_ID3DEMUX_CLASS +gst_id3demux_get_type
@@ -195,8 +285,12 @@ GstId3v2Mux id3v2mux 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
@@ -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
@@ -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
@@ -235,6 +329,13 @@ GstLevel level GstLevelClass +GST_TYPE_LEVEL +GST_LEVEL +GST_LEVEL_CLASS +GST_LEVEL_GET_CLASS +GST_IS_LEVEL +GST_IS_LEVEL_CLASS +gst_level_get_type
@@ -243,6 +344,13 @@ GstMultipartMux multipartmux 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
@@ -251,6 +359,13 @@ GstMultipartDemux multipartdemux 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
@@ -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
@@ -278,6 +393,12 @@ GstOssMixerElement ossmixer 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
@@ -286,6 +407,12 @@ GstOssSink osssink GstOssSinkClass +GST_TYPE_OSSSINK +GST_OSSSINK +GST_OSSSINK_CLASS +GST_IS_OSSSINK +GST_IS_OSSSINK_CLASS +gst_oss_sink_get_type
@@ -294,6 +421,12 @@ GstOssSrc osssrc 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
@@ -355,6 +488,21 @@ GST_SMOKEENC_CLASS GST_IS_SMOKEENC_CLASS
+
+element-taglibmux +GstTagLibMux +taglibmux + +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 +
+ +
element-udpsrc GstUDPSrc diff --git a/docs/plugins/inspect/plugin-audiofxgood.xml b/docs/plugins/inspect/plugin-audiofxgood.xml new file mode 100644 index 0000000000..33f6e4560c --- /dev/null +++ b/docs/plugins/inspect/plugin-audiofxgood.xml @@ -0,0 +1,20 @@ + + audiofxgood + Audio effects plugin + ../../gst/audiofxgood/.libs/libgstaudiofxgood.so + libgstaudiofxgood.so + 0.10.4.1 + LGPL + gst-plugins-good + GStreamer + http://gstreamer.net/ + + + audiopanorama + AudioPanorama + Filter/Effect/Audio + Positions audio streams in the stereo panorama + Stefan Kost <ensonic@users.sf.net> + + + \ No newline at end of file diff --git a/ext/Makefile.am b/ext/Makefile.am index ec470ba27e..2626f65c00 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -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 diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 6a97e23c88..2e10f2b16f 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -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) { diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 6ab2612bb4..3a868d44b6 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -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; -} diff --git a/ext/esd/gstesd.c b/ext/esd/gstesd.c index 62554d0a8d..71fc30bbf9 100644 --- a/ext/esd/gstesd.c +++ b/ext/esd/gstesd.c @@ -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 index 0000000000..9b0a071da0 --- /dev/null +++ b/gst/audiopanorama/audiofx.c @@ -0,0 +1,49 @@ +/* + * GStreamer + * Copyright (C) 2006 Stefan Kost + * + * 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 +#include + +#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/")