diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/timidity/gsttimidity.c | 23 | ||||
-rw-r--r-- | ext/timidity/gstwildmidi.c | 26 | ||||
-rw-r--r-- | ext/timidity/gstwildmidi.h | 2 |
4 files changed, 53 insertions, 5 deletions
@@ -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> * |