summaryrefslogtreecommitdiffstats
path: root/ext/timidity/gsttimidity.c
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 /ext/timidity/gsttimidity.c
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.
Diffstat (limited to 'ext/timidity/gsttimidity.c')
-rw-r--r--ext/timidity/gsttimidity.c23
1 files changed, 21 insertions, 2 deletions
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/")