summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-07-03 07:41:34 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-07-03 07:41:34 +0000
commitc0882012bb08f0b52afb32ef2812bcb48d178ca2 (patch)
treeb1e173f79cf1ec2009cb59019203894c31f3ed55
parent25e357f18033f15ba89be91097ae4f0ff56d62a9 (diff)
downloadgst-plugins-bad-c0882012bb08f0b52afb32ef2812bcb48d178ca2.tar.gz
gst-plugins-bad-c0882012bb08f0b52afb32ef2812bcb48d178ca2.tar.bz2
gst-plugins-bad-c0882012bb08f0b52afb32ef2812bcb48d178ca2.zip
ext/timidity/: Fix licence (both are GPL). Add element docs.
Original commit message from CVS: * ext/timidity/gsttimidity.c: * ext/timidity/gstwildmidi.c: * ext/timidity/gstwildmidi.h: Fix licence (both are GPL). Add element docs.
-rw-r--r--ChangeLog7
-rw-r--r--ext/timidity/gsttimidity.c23
-rw-r--r--ext/timidity/gstwildmidi.c26
-rw-r--r--ext/timidity/gstwildmidi.h2
4 files changed, 53 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b9e83a9..11254c13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-07-03 Stefan Kost <ensonic@users.sf.net>
+ * ext/timidity/gsttimidity.c:
+ * ext/timidity/gstwildmidi.c:
+ * ext/timidity/gstwildmidi.h:
+ Fix licence (both are GPL). Add element docs.
+
+2007-07-03 Stefan Kost <ensonic@users.sf.net>
+
* ext/musicbrainz/gsttrm.h:
Fix _get_type signature.
diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c
index 06541f2e..3b590c90 100644
--- a/ext/timidity/gsttimidity.c
+++ b/ext/timidity/gsttimidity.c
@@ -11,7 +11,6 @@
* 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
@@ -20,6 +19,26 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:element-timidity
+ * @see_also: wildmidi
+ *
+ * <refsect2>
+ * <para>
+ * This element renders midi-files as audio streams using
+ * <ulink url="http://timidity.sourceforge.net/">Timidity</ulink>.
+ * </para>
+ * <para>
+ * </para>
+ * <title>Example pipeline</title>
+ * <programlisting>
+ * gst-launch filesrc location=song.mid ! timidity ! alsasink
+ * </programlisting>
+ * This example pipeline will parse the midi and render to raw audio which is
+ * played via alsa.
+ * </refsect2>
+ */
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
@@ -816,4 +835,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"timidity",
"Timidity Plugin",
- plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")
+ plugin_init, VERSION, "GPL", "GStreamer", "http://gstreamer.net/")
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c
index 2ef80db1..fb35e54d 100644
--- a/ext/timidity/gstwildmidi.c
+++ b/ext/timidity/gstwildmidi.c
@@ -11,7 +11,6 @@
* 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
@@ -20,6 +19,29 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:element-wildmidi
+ * @see_also: timidity
+ *
+ * <refsect2>
+ * <para>
+ * This element renders midi-files as audio streams using
+ * <ulink url="http://wildmidi.sourceforge.net//">Wildmidi</ulink>.
+ * It offers better sound quality compared to the timidity element. Wildmidi
+ * uses the same sound-patches as timidity (it tries the path in $WILDMIDI_CFG,
+ * $HOME/.wildmidirc and /etc/wildmidi.cfg)
+ * </para>
+ * <para>
+ * </para>
+ * <title>Example pipeline</title>
+ * <programlisting>
+ * gst-launch filesrc location=song.mid ! wildmidi ! alsasink
+ * </programlisting>
+ * This example pipeline will parse the midi and render to raw audio which is
+ * played via alsa.
+ * </refsect2>
+ */
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
@@ -884,4 +906,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"wildmidi",
"Wildmidi Plugin",
- plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")
+ plugin_init, VERSION, "GPL", "GStreamer", "http://gstreamer.net/")
diff --git a/ext/timidity/gstwildmidi.h b/ext/timidity/gstwildmidi.h
index ecaeea6e..37815ea6 100644
--- a/ext/timidity/gstwildmidi.h
+++ b/ext/timidity/gstwildmidi.h
@@ -1,5 +1,5 @@
/*
- * gsttimdity - timidity plugin for gstreamer
+ * gstwildmidi - wildmidi plugin for gstreamer
*
* Copyright 2007 Wouter Paesen <wouter@blue-gate.be>
*