From c0882012bb08f0b52afb32ef2812bcb48d178ca2 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 3 Jul 2007 07:41:34 +0000 Subject: 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. --- ChangeLog | 7 +++++++ ext/timidity/gsttimidity.c | 23 +++++++++++++++++++++-- ext/timidity/gstwildmidi.c | 26 ++++++++++++++++++++++++-- ext/timidity/gstwildmidi.h | 2 +- 4 files changed, 53 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b9e83a9..11254c13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-03 Stefan Kost + + * 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 * ext/musicbrainz/gsttrm.h: 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 + * + * + * + * This element renders midi-files as audio streams using + * Timidity. + * + * + * + * Example pipeline + * + * gst-launch filesrc location=song.mid ! timidity ! alsasink + * + * This example pipeline will parse the midi and render to raw audio which is + * played via alsa. + * + */ + #ifdef HAVE_CONFIG_H # include #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 + * + * + * + * This element renders midi-files as audio streams using + * Wildmidi. + * 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) + * + * + * + * Example pipeline + * + * gst-launch filesrc location=song.mid ! wildmidi ! alsasink + * + * This example pipeline will parse the midi and render to raw audio which is + * played via alsa. + * + */ + #ifdef HAVE_CONFIG_H # include #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 * -- cgit v1.2.1