Updated the manual and the docs.
authorWim Taymans <wim.taymans@gmail.com>
Sat, 6 Jan 2001 02:35:17 +0000 (02:35 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 6 Jan 2001 02:35:17 +0000 (02:35 +0000)
Original commit message from CVS:
Updated the manual and the docs.
Removed the esdsink in gst/elements/ we have a real one not in the
plugins dir.
Added more APIs to query the plugins, types and caps. more fields now
have a getter and a setter. This is needed to make gstreamer wrapper
fiendly.
Added gst_element_disconnect beacuse we also have a gst_element_connect

48 files changed:
docs/gst/gstreamer-sections.txt
docs/gst/tmpl/gstasyncdisksrc.sgml
docs/gst/tmpl/gstaudiosink.sgml
docs/gst/tmpl/gstaudiosrc.sgml
docs/gst/tmpl/gstbin.sgml
docs/gst/tmpl/gstcaps.sgml
docs/gst/tmpl/gstdisksrc.sgml
docs/gst/tmpl/gstelement.sgml
docs/gst/tmpl/gstfakesink.sgml
docs/gst/tmpl/gstfakesrc.sgml
docs/gst/tmpl/gstfdsink.sgml
docs/gst/tmpl/gstfdsrc.sgml
docs/gst/tmpl/gsthttpsrc.sgml
docs/gst/tmpl/gstidentity.sgml
docs/gst/tmpl/gstobject.sgml
docs/gst/tmpl/gstpad.sgml
docs/gst/tmpl/gstpipefilter.sgml
docs/gst/tmpl/gstplugin.sgml
docs/gst/tmpl/gstqueue.sgml
docs/gst/tmpl/gstreamer-unused.sgml
docs/gst/tmpl/gstsinesrc.sgml
docs/gst/tmpl/gstthread.sgml
docs/gst/tmpl/gsttypefind.sgml
docs/manual/Makefile.am
docs/manual/bins.sgml
docs/manual/connections.sgml
docs/manual/elements.sgml
docs/manual/ghostpads.sgml [deleted file]
docs/manual/gstreamer-manual.sgml
docs/manual/helloworld.sgml
docs/manual/pads.sgml
docs/manual/plugins.sgml
docs/manuals.mak
gst/elements/gstesdsink.c [deleted file]
gst/elements/gstesdsink.h [deleted file]
gst/gstbin.c
gst/gstbin.h
gst/gstcaps.c
gst/gstcaps.h
gst/gstelement.c
gst/gstelement.h
gst/gstelementfactory.c
gst/gstplugin.c
gst/gstplugin.h
gst/gsttype.c
gst/gsttype.h
plugins/elements/gstesdsink.c [deleted file]
plugins/elements/gstesdsink.h [deleted file]

index bf15ac9..253412b 100644 (file)
@@ -196,6 +196,7 @@ gst_element_get_padtemplate_list
 gst_element_add_ghost_pad
 gst_element_remove_ghost_pad
 gst_element_connect
+gst_element_disconnect
 gst_element_set_state
 gst_element_error
 gst_element_get_factory
@@ -339,8 +340,10 @@ gst_pad_push
 gst_pad_pull
 gst_pad_pull_region
 gst_pad_pullregion
-gst_pad_handle_qos
+gst_pad_select
 gst_pad_set_eos
+gst_pad_eos_func
+gst_pad_handle_qos
 gst_pad_eos
 gst_pad_save_thyself
 gst_pad_load_and_connect
@@ -426,7 +429,12 @@ GstPlugin
 GstPluginElement
 GstPluginInitFunc
 gst_plugin_new
+gst_plugin_set_name
+gst_plugin_get_name
+gst_plugin_get_longname
 gst_plugin_set_longname
+gst_plugin_get_filename
+gst_plugin_is_loaded
 gst_plugin_load_all
 gst_plugin_load
 gst_plugin_load_absolute
@@ -435,6 +443,8 @@ gst_plugin_add_factory
 gst_plugin_add_type
 gst_plugin_find
 gst_plugin_get_list
+gst_plugin_get_factory_list
+gst_plugin_get_type_list
 gst_plugin_find_elementfactory
 gst_plugin_load_elementfactory
 gst_plugin_load_typefactory
@@ -521,6 +531,12 @@ gst_caps_new
 gst_caps_new_with_props
 gst_caps_register
 gst_caps_register_count
+gst_caps_get_name
+gst_caps_set_mime
+gst_caps_set_type_id
+gst_caps_get_type_id
+gst_caps_get_mime
+gst_caps_set_name
 gst_caps_set_props
 gst_caps_get_props
 gst_caps_check_compatibility
index b355753..ca7479d 100644 (file)
@@ -32,3 +32,23 @@ the offset.
 @GST_ASYNCDISKSRC_OPEN: 
 @GST_ASYNCDISKSRC_FLAG_LAST: 
 
+<!-- ##### ARG GstAsyncDiskSrc:location ##### -->
+<para>
+Specify the location of the file to read.
+</para>
+
+<!-- ##### ARG GstAsyncDiskSrc:bytesperread ##### -->
+<para>
+Specify how many bytes to read at a time.
+</para>
+
+<!-- ##### ARG GstAsyncDiskSrc:offset ##### -->
+<para>
+Specify the current offset in the file.
+</para>
+
+<!-- ##### ARG GstAsyncDiskSrc:size ##### -->
+<para>
+
+</para>
+
index 8ec48a9..87e51aa 100644 (file)
@@ -14,3 +14,32 @@ Output to a sound card via OSS.
 
 </para>
 
+<!-- ##### SIGNAL GstAudioSink::handoff ##### -->
+<para>
+The buffer is sent to the sound card.
+</para>
+
+@gstaudiosink: the object which received the signal.
+<!-- # Unused Parameters # -->
+@arg1: the audiosink.
+
+<!-- ##### ARG GstAudioSink:mute ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstAudioSink:format ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstAudioSink:channels ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstAudioSink:frequency ##### -->
+<para>
+
+</para>
+
index 68dabaa..721a58f 100644 (file)
@@ -14,3 +14,28 @@ Create buffers from an OSS sound card.
 
 </para>
 
+<!-- ##### ARG GstAudioSrc:bytes_per_read ##### -->
+<para>
+The number of bytes per read.
+</para>
+
+<!-- ##### ARG GstAudioSrc:curoffset ##### -->
+<para>
+Get the current number of bytes read.
+</para>
+
+<!-- ##### ARG GstAudioSrc:format ##### -->
+<para>
+The audio format as defined in soundcard.h
+</para>
+
+<!-- ##### ARG GstAudioSrc:channels ##### -->
+<para>
+The number of channels (mono, stereo, ...)
+</para>
+
+<!-- ##### ARG GstAudioSrc:frequency ##### -->
+<para>
+The frequency.
+</para>
+
index 5375c59..98f827e 100644 (file)
@@ -121,3 +121,12 @@ Flags for a bin
 @bin: 
 
 
+<!-- ##### SIGNAL GstBin::object-added ##### -->
+<para>
+is signaled whenever a new <classname>GstElement</classname> is added to the <classname>GstBin</classname>
+
+</para>
+
+@gstbin: the object which received the signal.
+@arg1: the element that was added
+
index 6c53861..2394e02 100644 (file)
@@ -78,6 +78,60 @@ a mime-type and a set of properties.
 @count: 
 
 
+<!-- ##### FUNCTION gst_caps_get_name ##### -->
+<para>
+
+</para>
+
+@caps: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_caps_set_mime ##### -->
+<para>
+
+</para>
+
+@caps: 
+@mime: 
+
+
+<!-- ##### FUNCTION gst_caps_set_type_id ##### -->
+<para>
+
+</para>
+
+@caps: 
+@typeid: 
+
+
+<!-- ##### FUNCTION gst_caps_get_type_id ##### -->
+<para>
+
+</para>
+
+@caps: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_caps_get_mime ##### -->
+<para>
+
+</para>
+
+@caps: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_caps_set_name ##### -->
+<para>
+
+</para>
+
+@caps: 
+@name: 
+
+
 <!-- ##### FUNCTION gst_caps_set_props ##### -->
 <para>
 
index d8516af..67c4fd6 100644 (file)
@@ -33,3 +33,23 @@ with seeking capabilities use a <classname>GstAsynDiskSrc</classname> instead.
 @GST_DISKSRC_OPEN: 
 @GST_DISKSRC_FLAG_LAST: 
 
+<!-- ##### ARG GstDiskSrc:location ##### -->
+<para>
+Specify the location of the file to read.
+</para>
+
+<!-- ##### ARG GstDiskSrc:bytesperread ##### -->
+<para>
+Specify how many bytes to read at a time.
+</para>
+
+<!-- ##### ARG GstDiskSrc:offset ##### -->
+<para>
+Get the current offset in the file.
+</para>
+
+<!-- ##### ARG GstDiskSrc:size ##### -->
+<para>
+
+</para>
+
index e5607c8..3f251eb 100644 (file)
@@ -319,6 +319,17 @@ circumstances.
 @destpadname: 
 
 
+<!-- ##### FUNCTION gst_element_disconnect ##### -->
+<para>
+
+</para>
+
+@src: 
+@srcpadname: 
+@dest: 
+@destpadname: 
+
+
 <!-- ##### FUNCTION gst_element_set_state ##### -->
 <para>
 
@@ -501,3 +512,44 @@ circumstances.
 @Returns: 
 
 
+<!-- ##### SIGNAL GstElement::state-change ##### -->
+<para>
+Is trigered whenever the state of an element changes
+</para>
+
+@gstelement: the object which received the signal.
+@arg1: the new state of the object
+
+<!-- ##### SIGNAL GstElement::new-pad ##### -->
+<para>
+Is trigered whenever a new pad is added to an element
+</para>
+
+@gstelement: the object which received the signal.
+@arg1: the new pad that was added
+
+<!-- ##### SIGNAL GstElement::new-ghost-pad ##### -->
+<para>
+
+Is trigered whenever a new ghost pad is added to an element
+</para>
+
+@gstelement: the object which received the signal.
+@arg1: the new ghost pad that was added
+
+<!-- ##### SIGNAL GstElement::error ##### -->
+<para>
+Is trigered whenever an error occured
+
+</para>
+
+@gstelement: the object which received the signal.
+@arg1: the error message
+
+<!-- ##### SIGNAL GstElement::eos ##### -->
+<para>
+
+</para>
+
+@gstelement: the object which received the signal.
+
index 361a67d..9d405d6 100644 (file)
@@ -16,3 +16,15 @@ with the buffer. (fakesink)
 
 </para>
 
+<!-- ##### SIGNAL GstFakeSink::handoff ##### -->
+<para>
+
+</para>
+
+@gstfakesink: the object which received the signal.
+
+<!-- ##### ARG GstFakeSink:num_sources ##### -->
+<para>
+
+</para>
+
index dfc2d57..490bd54 100644 (file)
@@ -14,3 +14,35 @@ The <classname>GstFakeSrc</classname> generates empty buffers. (fakesrc)
 
 </para>
 
+<!-- ##### SIGNAL GstFakeSrc::handoff ##### -->
+<para>
+
+</para>
+
+@gstfakesrc: the object which received the signal.
+
+<!-- ##### ARG GstFakeSrc:num_sources ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstFakeSrc:loop_based ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstFakeSrc:output ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstFakeSrc:patern ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GstFakeSrc:num_buffers ##### -->
+<para>
+
+</para>
+
index ec3e297..a9f7327 100644 (file)
@@ -14,3 +14,8 @@ Write data to a file descriptor.
 
 </para>
 
+<!-- ##### ARG GstFdSink:fd ##### -->
+<para>
+The filedescriptor to write to.
+</para>
+
index dd2c183..882a451 100644 (file)
@@ -14,3 +14,18 @@ Read buffers from a file descriptor.
 
 </para>
 
+<!-- ##### ARG GstFdSrc:location ##### -->
+<para>
+The filedescriptor to read from. Pass the argument as a char* (???)
+</para>
+
+<!-- ##### ARG GstFdSrc:bytesperread ##### -->
+<para>
+The number of bytes per read.
+</para>
+
+<!-- ##### ARG GstFdSrc:offset ##### -->
+<para>
+Get the current offset in the file.
+</para>
+
index 2ba4a00..f1c74b8 100644 (file)
@@ -14,3 +14,14 @@ Reads data from a URL.
 
 </para>
 
+<!-- ##### ARG GstHttpSrc:location ##### -->
+<para>
+Specify the location of the file. The location must be a fully qualified URL.
+</para>
+
+<!-- ##### ARG GstHttpSrc:bytesperread ##### -->
+<para>
+Specify how many bytes to read at a time.
+
+</para>
+
index e5a1a65..0ec323d 100644 (file)
@@ -14,3 +14,8 @@ Pass data without modification.
 
 </para>
 
+<!-- ##### ARG GstIdentity:loop_based ##### -->
+<para>
+
+</para>
+
index ee6cdd8..27f67cf 100644 (file)
@@ -174,3 +174,11 @@ This macro releases a lock on the object.
 @Returns: 
 
 
+<!-- ##### SIGNAL GstObject::parent-set ##### -->
+<para>
+
+</para>
+
+@gstobject: the object which received the signal.
+@arg1: the new parent
+
index 03b0829..c8d7b6c 100644 (file)
@@ -382,13 +382,14 @@ Destroy the pad
 @size: 
 
 
-<!-- ##### FUNCTION gst_pad_handle_qos ##### -->
+<!-- ##### FUNCTION gst_pad_select ##### -->
 <para>
 
 </para>
 
-@pad: 
-@qos_message: 
+@nextpad: 
+@Varargs: 
+@Returns: 
 
 
 <!-- ##### FUNCTION gst_pad_set_eos ##### -->
@@ -400,6 +401,24 @@ Destroy the pad
 @Returns: 
 
 
+<!-- ##### FUNCTION gst_pad_eos_func ##### -->
+<para>
+
+</para>
+
+@pad: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_pad_handle_qos ##### -->
+<para>
+
+</para>
+
+@pad: 
+@qos_message: 
+
+
 <!-- ##### MACRO gst_pad_eos ##### -->
 <para>
 
@@ -537,3 +556,8 @@ Indicates when this pad will become available
 @Returns: 
 
 
+<!-- ##### ARG GstPad:active ##### -->
+<para>
+Indicates this pad is active
+</para>
+
index 968c313..55f1469 100644 (file)
@@ -15,3 +15,8 @@ buffers from its output.
 
 </para>
 
+<!-- ##### ARG GstPipefilter:command ##### -->
+<para>
+Sets the command to be executed.
+</para>
+
index 0818ade..802959e 100644 (file)
@@ -54,6 +54,33 @@ by the loader at statup.
 @Returns: 
 
 
+<!-- ##### FUNCTION gst_plugin_set_name ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@name: 
+
+
+<!-- ##### FUNCTION gst_plugin_get_name ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_plugin_get_longname ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gst_plugin_set_longname ##### -->
 <para>
 
@@ -63,6 +90,24 @@ by the loader at statup.
 @longname: 
 
 
+<!-- ##### FUNCTION gst_plugin_get_filename ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_plugin_is_loaded ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gst_plugin_load_all ##### -->
 <para>
 
@@ -132,6 +177,24 @@ by the loader at statup.
 @Returns: 
 
 
+<!-- ##### FUNCTION gst_plugin_get_factory_list ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gst_plugin_get_type_list ##### -->
+<para>
+
+</para>
+
+@plugin: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gst_plugin_find_elementfactory ##### -->
 <para>
 
index 0363d62..e3ae1df 100644 (file)
@@ -21,3 +21,19 @@ The default queue length is set to 10.
 
 </para>
 
+<!-- ##### ARG GstQueue:level ##### -->
+<para>
+Get the number of buffers in the queue.
+</para>
+
+<!-- ##### ARG GstQueue:max_level ##### -->
+<para>
+Specify the maximum number of buffers in the queue before the queue
+blocks.
+</para>
+
+<!-- ##### ARG GstQueue:block ##### -->
+<para>
+
+</para>
+
index 7792b6e..c733638 100644 (file)
@@ -1,41 +1,44 @@
-<!-- ##### FUNCTION gst_fakesink_chain ##### -->
+<!-- ##### MACRO GST_IS_QUEUE_CLASS ##### -->
 <para>
 
 </para>
 
-@pad: 
-@buf: 
+@obj: 
 
-<!-- ##### ARG GstTypeFind:type ##### -->
+<!-- ##### STRUCT GstSineSrc ##### -->
 <para>
-Query the element for the current mime type
+
 </para>
 
 
-<!-- ##### FUNCTION gst_object_get_type ##### -->
+<!-- ##### SECTION ./tmpl/GstElement.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### STRUCT GstSineSrcClass ##### -->
+<!-- ##### MACRO DEBUG_SET_STRING ##### -->
 <para>
 
 </para>
 
+@format: 
+@args...: 
 
-<!-- ##### ARG GstAudioSink:mute ##### -->
+<!-- ##### FUNCTION gst_type_add_sink ##### -->
 <para>
 
 </para>
 
+@id: 
+@sink: 
 
-<!-- ##### STRUCT GstFakeSrc ##### -->
+<!-- ##### FUNCTION gst_fakesrc_push ##### -->
 <para>
 
 </para>
 
+@src: 
 
 <!-- ##### FUNCTION gst_tee_get_type ##### -->
 <para>
@@ -44,362 +47,360 @@ Query the element for the current mime type
 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_SINK ##### -->
+<!-- ##### MACRO GST_FAKESRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_META ##### -->
+<!-- ##### MACRO GST_IS_ESDSINK_CLASS ##### -->
 <para>
 
 </para>
 
-@meta
+@obj
 
-<!-- ##### MACRO GST_IS_CONNECTION ##### -->
+<!-- ##### SIGNAL GstSrc::eos ##### -->
 <para>
+An eos signal is triggered whenever the GstSrc has reached the end of 
+the stream.
 
 </para>
 
-@obj: 
+@gstsrc: the object which received the signal.
+@arg1: the object which received the signal
 
-<!-- ##### MACRO GST_TYPE_FAKESINK ##### -->
+<!-- ##### FUNCTION gst_fdsink_new ##### -->
 <para>
 
 </para>
 
+@name: 
+@Returns: 
 
-<!-- ##### FUNCTION gst_fdsink_chain ##### -->
+<!-- ##### STRUCT GstAsyncDiskSrcClass ##### -->
 <para>
 
 </para>
 
-@pad: 
-@buf: 
 
-<!-- ##### MACRO GST_SRC_UNSET_FLAGS ##### -->
+<!-- ##### MACRO GST_IS_FILTER_CLASS ##### -->
 <para>
-This macro usets the given flags.
+
 </para>
 
-@src: 
-@flag: Flag to set, must be a single bit in guint32.
-@obj: GstSrc to unset flag in.
+@obj: 
 
-<!-- ##### SIGNAL GstElement::new-ghost-pad ##### -->
+<!-- ##### STRUCT GstPadClass ##### -->
 <para>
 
-Is trigered whenever a new ghost pad is added to an element
 </para>
 
-@gstelement: the object which received the signal.
-@arg1: the new ghost pad that was added
 
-<!-- ##### ARG GstAudioSrc:frequency ##### -->
+<!-- ##### STRUCT GstBinClass ##### -->
 <para>
-The frequency.
+
 </para>
 
 
-<!-- ##### ARG GstHttpSrc:location ##### -->
+<!-- ##### STRUCT GstConnection ##### -->
 <para>
-Specify the location of the file. The location must be a fully qualified URL.
+
 </para>
 
 
-<!-- ##### FUNCTION gst_identity_chain ##### -->
+<!-- ##### MACRO GST_FDSRC ##### -->
 <para>
 
 </para>
 
-@pad: 
-@buf: 
+@obj: 
 
-<!-- ##### FUNCTION gst_audiosink_chain ##### -->
+<!-- ##### MACRO GST_IS_AUDIOSRC ##### -->
 <para>
 
 </para>
 
-@pad: 
-@buf: 
+@obj: 
 
-<!-- ##### FUNCTION gst_connection_get_type ##### -->
+<!-- ##### FUNCTION gst_fakesink_new ##### -->
 <para>
 
 </para>
 
+@name: 
 @Returns: 
 
-<!-- ##### MACRO GST_PIPELINE_CLASS ##### -->
+<!-- ##### MACRO GST_PIPELINE ##### -->
 <para>
 
 </para>
 
-@klass
+@obj
 
-<!-- ##### FUNCTION gst_elementfactory_add_src ##### -->
+<!-- ##### MACRO GST_TYPE_SINK ##### -->
 <para>
 
 </para>
 
-@elementfactory: 
-@id: 
 
-<!-- ##### MACRO GST_IS_SINK_CLASS ##### -->
+<!-- ##### MACRO DEBUG_ENTER ##### -->
 <para>
 
 </para>
 
-@obj: 
+@format: 
+@args...: 
 
-<!-- ##### STRUCT GstConnectionClass ##### -->
+<!-- ##### MACRO GST_IS_HTTPSRC ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IS_PIPELINE_CLASS ##### -->
+<!-- ##### MACRO GST_IS_ELEMENT ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### ARG GstSineSrc:channels ##### -->
+<!-- ##### STRUCT GstQueue ##### -->
 <para>
-The number of channels.
+
 </para>
 
 
-<!-- ##### MACRO GST_PROPS_INT_RANGE_ID ##### -->
-<para>
+<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Short_Description ##### -->
 
-</para>
 
 
-<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Title ##### -->
-GstEsdSink
+<!-- ##### MACRO GST_PAD_CLASS ##### -->
+<para>
 
+</para>
 
-<!-- ##### MACRO DEBUG ##### -->
+@klass: 
+
+<!-- ##### MACRO GST_PIPELINE_CLASS ##### -->
 <para>
-Use this macro to show debugging info. This is only usefull when developing new
-plugin elements.
-If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce
-g_print messages.
+
 </para>
 
-@format: the format specification as in g_print
-@args...: arguments
+@klass: 
 
-<!-- ##### MACRO GST_TYPE_IDENTITY ##### -->
+<!-- ##### MACRO GST_IS_ASYNCDISKSRC ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### FUNCTION gst_type_save_thyself ##### -->
+<!-- ##### FUNCTION plugin_initialize ##### -->
 <para>
 
 </para>
 
-@type: 
-@parent: 
-@Returns: 
 
-<!-- ##### SIGNAL GstElement::state-change ##### -->
+<!-- ##### FUNCTION gst_pad_get_type ##### -->
 <para>
-Is trigered whenever the state of an element changes
+
 </para>
 
-@gstelement: the object which received the signal.
-@arg1: the new state of the object
+@Returns: 
 
-<!-- ##### STRUCT GstAudioSrc ##### -->
+<!-- ##### MACRO GST_PROPS_INT_RANGE_ID ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_TYPE_ELEMENT ##### -->
+<!-- ##### MACRO GST_SINESRC ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### FUNCTION gst_audiosrc_push ##### -->
+<!-- ##### FUNCTION gst_object_get_type ##### -->
 <para>
 
 </para>
 
-@src
+@Returns
 
-<!-- ##### MACRO GST_IS_FAKESRC_CLASS ##### -->
+<!-- ##### SECTION ./tmpl/plugin.sgml:Long_Description ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### ARG GstFakeSrc:patern ##### -->
+<!-- ##### MACRO GST_QUEUE_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### MACRO GST_AUDIOSINK ##### -->
+<!-- ##### FUNCTION gst_audiosrc_get_type ##### -->
 <para>
 
 </para>
 
-@obj
+@Returns
 
-<!-- ##### SECTION ./tmpl/gstsrc.sgml:See_Also ##### -->
+<!-- ##### MACRO DEBUG ##### -->
 <para>
-
+Use this macro to show debugging info. This is only usefull when developing new
+plugin elements.
+If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce
+g_print messages.
 </para>
 
+@format: the format specification as in g_print
+@args...: arguments
 
-<!-- ##### FUNCTION gst_esdsink_set_format ##### -->
+<!-- ##### MACRO DEBUG_LEAVE_STRING ##### -->
 <para>
 
 </para>
 
-@esdsink: 
-@format: 
 
-<!-- ##### SIGNAL GstSrc::eos ##### -->
+<!-- ##### SECTION ./tmpl/gstconnection.sgml:See_Also ##### -->
 <para>
-An eos signal is triggered whenever the GstSrc has reached the end of 
-the stream.
 
 </para>
 
-@gstsrc: the object which received the signal.
-@arg1: the object which received the signal
 
-<!-- ##### STRUCT GstIdentity ##### -->
+<!-- ##### MACRO GST_IS_QUEUE ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IS_FDSRC ##### -->
+<!-- ##### SECTION ./tmpl/gstsink.sgml:Long_Description ##### -->
 <para>
+The sink is the end of the filter graph. A typical sink would be an audio
+or a video card.
 
 </para>
 
-@obj: 
 
-<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:See_Also ##### -->
+<!-- ##### FUNCTION gst_queue_new ##### -->
 <para>
 
 </para>
 
+@name: 
+@Returns: 
 
-<!-- ##### FUNCTION gst_thread_get_type ##### -->
+<!-- ##### FUNCTION gst_fdsrc_get_type ##### -->
 <para>
 
 </para>
 
 @Returns: 
 
-<!-- ##### MACRO GST_QUEUE ##### -->
+<!-- ##### MACRO GST_TYPE_DISKSRC ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### ARG GstHttpSrc:bytesperread ##### -->
+<!-- ##### MACRO GST_PROPS_LIST_ID ##### -->
 <para>
-Specify how many bytes to read at a time.
 
 </para>
 
 
-<!-- ##### FUNCTION gst_disksrc_get_type ##### -->
+<!-- ##### FUNCTION plugin_load ##### -->
 <para>
 
 </para>
 
+@name: 
 @Returns: 
 
-<!-- ##### MACRO GST_THREAD ##### -->
+<!-- ##### SECTION ./tmpl/gstgetbits.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### MACRO GST_IS_DISKSRC_CLASS ##### -->
+<!-- ##### MACRO GST_IS_SRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_fakesink_new ##### -->
+<!-- ##### FUNCTION gst_queue_push ##### -->
 <para>
 
 </para>
 
-@name: 
-@Returns: 
+@connection: 
 
-<!-- ##### FUNCTION gst_pad_get_directory ##### -->
+<!-- ##### MACRO GST_SRC_ASYNC ##### -->
 <para>
-
+This macro checks to see if the GST_SRC_ASYNC flag is set.
 </para>
 
-@pad: 
-@Returns: 
+@obj: GstSrc to check for flag in.
 
-<!-- ##### SECTION ./tmpl/gstsrc.sgml:Title ##### -->
-GstSrc
+<!-- ##### STRUCT GstFilter ##### -->
+<para>
+
+</para>
 
 
-<!-- ##### MACRO DEBUG_ENTER_STRING ##### -->
+<!-- ##### MACRO GST_TYPE_ASYNCDISKSRC ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_IS_ESDSINK_CLASS ##### -->
+<!-- ##### MACRO GST_TEE_CLASS ##### -->
 <para>
 
 </para>
 
-@obj
+@klass
 
-<!-- ##### ARG GstFakeSrc:output ##### -->
+<!-- ##### FUNCTION gst_thread_main_loop ##### -->
 <para>
 
 </para>
 
+@arg: 
 
-<!-- ##### SECTION ./tmpl/gstgetbits.sgml:See_Also ##### -->
+<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Title ##### -->
+GstEsdSink
+
+
+<!-- ##### MACRO GST_TYPE_BIN ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_SRC ##### -->
+<!-- ##### MACRO GST_IS_IDENTITY_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_TYPE_AUDIOSRC ##### -->
+<!-- ##### MACRO GST_TYPE_TEE ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### FUNCTION gst_sink_new ##### -->
+<!-- ##### FUNCTION gst_fakesrc_new ##### -->
 <para>
 
 </para>
@@ -407,233 +408,242 @@ GstSrc
 @name: 
 @Returns: 
 
-<!-- ##### SECTION ./tmpl/plugin.sgml:See_Also ##### -->
+<!-- ##### SECTION ./tmpl/gstconnection.sgml:Long_Description ##### -->
 <para>
+A connection is a bas class for a generic connection between
+elements. A connection is typically a bas class for queues.
 
 </para>
 
 
-<!-- ##### MACRO GST_PAD_CLASS ##### -->
+<!-- ##### FUNCTION gst_src_get_type ##### -->
 <para>
 
 </para>
 
-@klass: 
+@Returns: 
 
-<!-- ##### FUNCTION plugin_load_all ##### -->
+<!-- ##### STRUCT GstDiskSrcClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_SINESRC_CLASS ##### -->
+<!-- ##### MACRO GST_PROPS_INT_ID ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### MACRO GST_IS_TEE_CLASS ##### -->
+<!-- ##### FUNCTION gst_fakesink_chain ##### -->
 <para>
 
 </para>
 
-@obj: 
+@pad: 
+@buf: 
 
-<!-- ##### FUNCTION gst_thread_main_loop ##### -->
+<!-- ##### FUNCTION gst_type_add_src ##### -->
 <para>
 
 </para>
 
-@arg: 
+@id: 
+@src: 
 
-<!-- ##### MACRO GST_IS_AUDIOSINK_CLASS ##### -->
+<!-- ##### FUNCTION gst_esdsink_get_type ##### -->
 <para>
 
 </para>
 
-@obj
+@Returns
 
-<!-- ##### STRUCT GstDiskSrc ##### -->
+<!-- ##### FUNCTION gst_esdsink_chain ##### -->
 <para>
 
 </para>
 
+@pad: 
+@buf: 
 
-<!-- ##### SECTION ./tmpl/gstconnection.sgml:Title ##### -->
-GstConnection
-
-
-<!-- ##### ARG GstDiskSrc:bytesperread ##### -->
+<!-- ##### MACRO INFO ##### -->
 <para>
-Specify how many bytes to read at a time.
+
 </para>
 
+@cat: 
+@format: 
+@args...: 
 
-<!-- ##### MACRO GST_TYPE_FDSRC ##### -->
+<!-- ##### FUNCTION gst_type_get_sinks ##### -->
 <para>
 
 </para>
 
+@id: 
+@Returns: 
 
-<!-- ##### MACRO GST_IS_SRC_CLASS ##### -->
+<!-- ##### MACRO GST_TYPE_HTTPSRC ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### ARG GstSineSrc:freq ##### -->
+<!-- ##### MACRO GST_TYPE_ELEMENT ##### -->
 <para>
-The frequency.
+
 </para>
 
 
-<!-- ##### ARG GstAsyncDiskSrc:bytesperread ##### -->
+<!-- ##### STRUCT GstFakeSink ##### -->
 <para>
-Specify how many bytes to read at a time.
+
 </para>
 
 
-<!-- ##### MACRO GST_TYPE_PIPELINE ##### -->
+<!-- ##### MACRO GST_THREAD_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### STRUCT GstHttpSrcClass ##### -->
+<!-- ##### MACRO GST_BIN_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### FUNCTION gst_filter_new ##### -->
+<!-- ##### MACRO GST_TYPE_OBJECT ##### -->
 <para>
 
 </para>
 
-@name: 
-@Returns: 
 
-<!-- ##### SECTION ./tmpl/GstElement.sgml:Short_Description ##### -->
+<!-- ##### MACRO GST_IS_ASYNCDISKSRC_CLASS ##### -->
+<para>
 
+</para>
 
+@obj: 
 
-<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Short_Description ##### -->
+<!-- ##### MACRO GST_IS_FDSRC_CLASS ##### -->
+<para>
 
+</para>
 
+@obj: 
 
-<!-- ##### SECTION ./tmpl/gstesdsink.sgml:See_Also ##### -->
+<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Long_Description ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### FUNCTION gst_sink_get_type ##### -->
+<!-- ##### MACRO GST_FAKESINK ##### -->
 <para>
 
 </para>
 
-@Returns
+@obj
 
-<!-- ##### ARG GstSineSrc:volume ##### -->
-<para>
-The volume as a double 0.0 is silent, 1.0 is loudest.
-</para>
+<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Title ##### -->
+GstColorSpace
 
 
-<!-- ##### MACRO GST_TYPE_TEE ##### -->
+<!-- ##### STRUCT GstEsdSink ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### FUNCTION gst_queue_push ##### -->
+<!-- ##### MACRO GST_PAD ##### -->
 <para>
 
 </para>
 
-@connection
+@obj
 
-<!-- ##### MACRO GST_FILTER_FLAG_LAST ##### -->
+<!-- ##### STRUCT GstSink ##### -->
 <para>
-subclass use this to start their flag enumeration
-</para>
 
-
-<!-- ##### SECTION ./tmpl/GstElement.sgml:Title ##### -->
-GstElement
+</para>
 
 
-<!-- ##### MACRO GST_BIN ##### -->
+<!-- ##### MACRO GST_IS_AUDIOSINK_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_type_get_sinks ##### -->
+<!-- ##### SECTION ./tmpl/gstsrc.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@id: 
-@Returns: 
 
-<!-- ##### MACRO GST_BUFFER_POOL ##### -->
+<!-- ##### FUNCTION gst_type_get_srcs ##### -->
 <para>
 
 </para>
 
-@buf: 
-
-<!-- ##### FUNCTION gst_audiosink_set_channels ##### -->
-<para>
+@id: 
+@Returns: 
 
-</para>
+<!-- ##### SECTION ./tmpl/gstfilter.sgml:Short_Description ##### -->
+Take data in and spit data out
 
-@audiosink: 
-@channels: 
 
-<!-- ##### SECTION ./tmpl/gstconnection.sgml:Short_Description ##### -->
-Generic connection between elements.
+<!-- ##### SECTION ./tmpl/gstfilter.sgml:Long_Description ##### -->
+<para>
+Filters take data in and spit data out. They are the main Element in a filter graph.
+Filters have zero or more inputs and zero or more outputs. Filters are connected
+together to form filter graphs. A GstFilter is the base class and is not very usefull
+on its own.
+</para>
 
 
-<!-- ##### STRUCT GstSinkClass ##### -->
+<!-- ##### FUNCTION plugin_load_absolute ##### -->
 <para>
 
 </para>
 
+@name: 
+@Returns: 
 
-<!-- ##### STRUCT GstEsdSink ##### -->
+<!-- ##### FUNCTION gst_sinesrc_new ##### -->
 <para>
 
 </para>
 
+@name: 
+@Returns: 
 
-<!-- ##### STRUCT GstFilterClass ##### -->
+<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Long_Description ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_FDSINK ##### -->
+<!-- ##### FUNCTION gst_audiosrc_new ##### -->
 <para>
 
 </para>
 
-@obj: 
+@name: 
+@Returns: 
 
-<!-- ##### MACRO ERROR ##### -->
+<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
 <para>
 
 </para>
 
-@element: 
 @format: 
 @args...: 
 
-<!-- ##### MACRO GST_IS_FAKESRC ##### -->
+<!-- ##### MACRO GST_QUEUE ##### -->
 <para>
 
 </para>
@@ -647,489 +657,515 @@ Generic connection between elements.
 
 @obj: 
 
-<!-- ##### SECTION ./tmpl/gstsink.sgml:Long_Description ##### -->
+<!-- ##### FUNCTION gst_src_push ##### -->
 <para>
-The sink is the end of the filter graph. A typical sink would be an audio
-or a video card.
 
 </para>
 
+@src: 
 
-<!-- ##### FUNCTION gst_esdsink_set_channels ##### -->
+<!-- ##### FUNCTION gst_filter_new ##### -->
 <para>
 
 </para>
 
-@esdsink
-@channels: 
+@name
+@Returns: 
 
-<!-- ##### ARG GstDiskSrc:size ##### -->
+<!-- ##### STRUCT GstThreadClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### FUNCTION gst_esdsink_get_type ##### -->
+<!-- ##### MACRO GST_IS_OBJECT ##### -->
 <para>
 
 </para>
 
-@Returns
+@obj
 
-<!-- ##### MACRO GST_IS_BIN_CLASS ##### -->
+<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Title ##### -->
+GstGetbits
+
+
+<!-- ##### MACRO GST_FILTER_CLASS ##### -->
 <para>
 
 </para>
 
-@obj
+@klass
 
-<!-- ##### SECTION ./tmpl/GstElement.sgml:See_Also ##### -->
+<!-- ##### MACRO ERROR ##### -->
 <para>
 
 </para>
 
+@element: 
+@format: 
+@args...: 
 
-<!-- ##### MACRO GST_ELEMENT ##### -->
+<!-- ##### MACRO GST_IS_PAD_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### STRUCT GstEsdSinkClass ##### -->
+<!-- ##### FUNCTION gst_src_push_region ##### -->
 <para>
 
 </para>
 
+@src: 
+@offset: 
+@size: 
 
-<!-- ##### ARG GstQueue:block ##### -->
+<!-- ##### FUNCTION gst_src_signal_eos ##### -->
 <para>
 
 </para>
 
+@src: 
 
-<!-- ##### MACRO GST_ELEMENT_IS_MULTI_IN ##### -->
+<!-- ##### MACRO GST_SINESRC_CLASS ##### -->
 <para>
-Query whether this object has multiple input pads.
 
 </para>
 
-@obj: Element to query for multiple input pads.
+@klass: 
 
-<!-- ##### FUNCTION gst_fdsink_new_with_fd ##### -->
+<!-- ##### MACRO GST_IS_FAKESRC_CLASS ##### -->
 <para>
 
 </para>
 
-@name: 
-@fd: 
-@Returns: 
+@obj: 
 
-<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
+<!-- ##### FUNCTION gst_connection_new ##### -->
 <para>
 
 </para>
 
-@format
-@args...
+@name
+@Returns
 
-<!-- ##### SECTION ./tmpl/gstfilter.sgml:See_Also ##### -->
+<!-- ##### FUNCTION gst_sink_new ##### -->
 <para>
 
 </para>
 
+@name: 
+@Returns: 
 
-<!-- ##### ARG GstAudioSink:frequency ##### -->
+<!-- ##### MACRO GST_ELEMENT_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### STRUCT GstFdSrc ##### -->
+<!-- ##### SECTION ./tmpl/gstsrc.sgml:Long_Description ##### -->
 <para>
+A GstSrc is the start of a filter graph. It typically is a file or an
+audio source. It provides data for the next element in the graph.
 
 </para>
 
 
-<!-- ##### MACRO GST_IS_ELEMENT_CLASS ##### -->
+<!-- ##### FUNCTION gst_fdsink_chain ##### -->
 <para>
 
 </para>
 
-@obj: 
+@pad: 
+@buf: 
 
-<!-- ##### STRUCT GstThreadClass ##### -->
+<!-- ##### MACRO GST_IS_IDENTITY ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### STRUCT GstSrcClass ##### -->
+<!-- ##### FUNCTION gst_esdsink_set_channels ##### -->
 <para>
 
 </para>
 
+@esdsink: 
+@channels: 
 
-<!-- ##### ARG GstIdentity:control ##### -->
+<!-- ##### MACRO GST_FDSRC_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
+<!-- ##### MACRO GST_SINK_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### MACRO GST_PAD ##### -->
+<!-- ##### STRUCT GstPipelineClass ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### FUNCTION gst_pad_set_pull_function ##### -->
+<!-- ##### SECTION ./tmpl/gstsrc.sgml:Title ##### -->
+GstSrc
+
+
+<!-- ##### MACRO GST_IS_FDSINK_CLASS ##### -->
 <para>
 
 </para>
 
-@pad: 
-@pull: 
+@obj: 
 
-<!-- ##### STRUCT GstSink ##### -->
+<!-- ##### MACRO GST_ASYNCDISKSRC ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### FUNCTION gst_pipeline_get_type ##### -->
+<!-- ##### FUNCTION gst_asyncdisksrc_get_type ##### -->
 <para>
 
 </para>
 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_THREAD ##### -->
+<!-- ##### MACRO GST_ESDSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_TYPE_THREAD ##### -->
+<!-- ##### FUNCTION gst_pipeline_get_type ##### -->
 <para>
 
 </para>
 
+@Returns: 
 
-<!-- ##### STRUCT GstAsyncDiskSrcClass ##### -->
+<!-- ##### ARG GstSineSrc:freq ##### -->
 <para>
-
+The frequency.
 </para>
 
 
-<!-- ##### FUNCTION gst_src_signal_eos ##### -->
+<!-- ##### STRUCT GstIdentityClass ##### -->
 <para>
 
 </para>
 
-@src: 
-
-<!-- ##### SIGNAL GstTypeFind::have-type ##### -->
-<para>
-The signal to indicate the mime type was detected.
-</para>
-
-@gsttypefind: the object which received the signal.
-@arg1: The mime type that was detected
 
-<!-- ##### STRUCT GstHttpSrc ##### -->
+<!-- ##### STRUCT GstSinkClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_TYPE_SINK ##### -->
+<!-- ##### MACRO GST_IS_TEE_CLASS ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### ARG GstDiskSrc:offset ##### -->
+<!-- ##### MACRO GST_STATE_UNSET ##### -->
 <para>
-Get the current offset in the file.
+This macro unsets the given state on the element.
 </para>
 
+@obj: Element to unset state of.
+@flag: State to unset, can be any number of bits in guint32.
 
-<!-- ##### MACRO DEBUG_SET_STRING ##### -->
+<!-- ##### STRUCT GstDiskSrc ##### -->
 <para>
 
 </para>
 
-@format: 
-@args...: 
 
-<!-- ##### STRUCT GstSrc ##### -->
+<!-- ##### MACRO GST_SRC_FLAGS ##### -->
 <para>
-
+This macro returns the entire set of flags for the object.
 </para>
 
+@obj: GstSrc to return flags for.
 
-<!-- ##### MACRO GST_IS_THREAD_CLASS ##### -->
+<!-- ##### FUNCTION gst_sink_get_type ##### -->
 <para>
 
 </para>
 
-@obj
+@Returns
 
-<!-- ##### FUNCTION gst_bin_get_type ##### -->
+<!-- ##### MACRO GST_TYPE_AUDIOSRC ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### ARG GstAsyncDiskSrc:offset ##### -->
+<!-- ##### MACRO GST_SRC_CLASS ##### -->
 <para>
-Specify the current offset in the file.
+
 </para>
 
+@klass: 
 
-<!-- ##### FUNCTION gst_queue_new ##### -->
-<para>
-
-</para>
+<!-- ##### SECTION ./tmpl/gstsrc.sgml:Short_Description ##### -->
+The start point of a filter graph
 
-@name: 
-@Returns: 
 
-<!-- ##### MACRO GST_THREAD_CLASS ##### -->
+<!-- ##### MACRO GST_FAKESINK_CLASS ##### -->
 <para>
 
 </para>
 
 @klass: 
 
-<!-- ##### MACRO GST_IS_FILTER_CLASS ##### -->
+<!-- ##### MACRO GST_IS_SINK_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_TYPE_AUDIOSINK ##### -->
+<!-- ##### STRUCT GstConnectionClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### SECTION ./tmpl/plugin.sgml:Long_Description ##### -->
+<!-- ##### MACRO GST_IS_PAD ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_CONNECTION_CLASS ##### -->
+<!-- ##### STRUCT GstFdSinkClass ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Long_Description ##### -->
+<!-- ##### FUNCTION gst_type_load_thyself ##### -->
 <para>
 
 </para>
 
+@parent: 
+@Returns: 
 
-<!-- ##### FUNCTION gst_connection_new ##### -->
+<!-- ##### FUNCTION gst_plugin_init ##### -->
 <para>
 
 </para>
 
-@name: 
-@Returns: 
 
-<!-- ##### MACRO GST_FILTER_CLASS ##### -->
+<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Short_Description ##### -->
+
+
+
+<!-- ##### MACRO DEBUG_LEAVE ##### -->
 <para>
 
 </para>
 
-@klass: 
+@format: 
+@args...: 
 
-<!-- ##### FUNCTION gst_identity_get_type ##### -->
+<!-- ##### MACRO GST_ASYNCDISKSRC_CLASS ##### -->
 <para>
 
 </para>
 
-@Returns: 
+@klass: 
 
-<!-- ##### MACRO GST_SINK ##### -->
+<!-- ##### MACRO GST_ESDSINK_CLASS ##### -->
 <para>
 
 </para>
 
-@obj
+@klass
 
-<!-- ##### ARG GstFakeSrc:num_sources ##### -->
+<!-- ##### MACRO GST_IS_BIN_CLASS ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_PROPS_BOOL_ID ##### -->
+<!-- ##### FUNCTION gst_element_get_type ##### -->
 <para>
 
 </para>
 
+@Returns: 
 
-<!-- ##### MACRO GST_FDSRC_CLASS ##### -->
+<!-- ##### STRUCT GstSineSrcClass ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### MACRO GST_TYPE_FAKESRC ##### -->
+<!-- ##### MACRO GST_IS_PIPELINE ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### SECTION ./tmpl/plugin.sgml:Short_Description ##### -->
-
+<!-- ##### SECTION ./tmpl/gstconnection.sgml:Title ##### -->
+GstConnection
 
 
-<!-- ##### FUNCTION gst_pad_get_type ##### -->
+<!-- ##### MACRO GST_TYPE_THREAD ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### STRUCT GstSineSrc ##### -->
+<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:See_Also ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### SECTION ./tmpl/gstsink.sgml:See_Also ##### -->
+<!-- ##### STRUCT GstHttpSrc ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_IS_AUDIOSINK ##### -->
+<!-- ##### MACRO GST_STATE_SET ##### -->
 <para>
-
+This macro sets the given state on the element.
 </para>
 
-@obj: 
+@obj: Element to set state of.
+@flag: State to set, can be any number of bits in guint32.
 
-<!-- ##### SIGNAL GstElement::new-pad ##### -->
+<!-- ##### MACRO DEBUG_ENTER_STRING ##### -->
 <para>
-Is trigered whenever a new pad is added to an element
+
 </para>
 
-@gstelement: the object which received the signal.
-@arg1: the new pad that was added
 
-<!-- ##### SECTION ./tmpl/gstfilter.sgml:Long_Description ##### -->
+<!-- ##### MACRO GST_AUDIOSRC_CLASS ##### -->
 <para>
-Filters take data in and spit data out. They are the main Element in a filter graph.
-Filters have zero or more inputs and zero or more outputs. Filters are connected
-together to form filter graphs. A GstFilter is the base class and is not very usefull
-on its own.
+
 </para>
 
+@klass: 
 
-<!-- ##### MACRO GST_OBJECT ##### -->
+<!-- ##### ENUM GstCapsDefinition ##### -->
 <para>
 
 </para>
 
-@obj: 
+@GST_CAPS_ALWAYS: 
+@GST_CAPS_MAYBE: 
 
-<!-- ##### MACRO GST_IS_FDSINK ##### -->
+<!-- ##### MACRO GST_DISKSRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_IS_DISKSRC ##### -->
+<!-- ##### SECTION ./tmpl/gstconnection.sgml:Short_Description ##### -->
+Generic connection between elements.
+
+
+<!-- ##### MACRO GST_TYPE_AUDIOSINK ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### MACRO GST_FAKESINK_CLASS ##### -->
+<!-- ##### STRUCT GstFdSrcClass ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Short_Description ##### -->
+<!-- ##### FUNCTION gst_esdsink_sync_parms ##### -->
+<para>
 
+</para>
 
+@esdsink: 
 
-<!-- ##### MACRO GST_TYPE_FDSINK ##### -->
+<!-- ##### MACRO GST_IS_SINK ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### ARG GstAudioSink:format ##### -->
+<!-- ##### MACRO GST_IS_THREAD ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### SECTION ./tmpl/GstElement.sgml:Long_Description ##### -->
+<!-- ##### MACRO GST_SINK ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IS_FAKESINK_CLASS ##### -->
+<!-- ##### MACRO GST_TYPE_FDSINK ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### FUNCTION gst_pad_set_caps ##### -->
+<!-- ##### MACRO GST_IS_DISKSRC_CLASS ##### -->
 <para>
 
 </para>
 
-@pad: 
-@caps: 
+@obj: 
 
-<!-- ##### MACRO GST_AUDIOSRC_CLASS ##### -->
+<!-- ##### MACRO GST_IS_PIPELINE_CLASS ##### -->
 <para>
 
 </para>
 
-@klass
+@obj
 
-<!-- ##### MACRO GST_IS_FILTER ##### -->
+<!-- ##### SECTION ./tmpl/plugin.sgml:Title ##### -->
+plugin
+
+
+<!-- ##### MACRO GST_TYPE_SRC ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### STRUCT GstAudioSrcClass ##### -->
+<!-- ##### FUNCTION gst_identity_chain ##### -->
 <para>
 
 </para>
 
+@pad: 
+@buf: 
 
-<!-- ##### MACRO GST_TYPE_FILTER ##### -->
+<!-- ##### STRUCT GstAsyncDiskSrc ##### -->
 <para>
 
 </para>
@@ -1143,122 +1179,130 @@ on its own.
 @name: 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_AUDIOSRC_CLASS ##### -->
+<!-- ##### MACRO GST_IS_HTTPSRC_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_audiosrc_new ##### -->
+<!-- ##### MACRO GST_IS_FAKESRC ##### -->
 <para>
 
 </para>
 
-@name: 
-@Returns: 
+@obj: 
 
-<!-- ##### STRUCT GstIdentityClass ##### -->
+<!-- ##### STRUCT GstHttpSrcClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_IS_PAD_CLASS ##### -->
+<!-- ##### MACRO GST_PROPS_FOURCC_ID ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### STRUCT GstConnection ##### -->
+<!-- ##### MACRO GST_SRC_UNSET_FLAGS ##### -->
 <para>
-
+This macro usets the given flags.
 </para>
 
+@src: 
+@flag: Flag to set, must be a single bit in guint32.
+@obj: GstSrc to unset flag in.
 
-<!-- ##### STRUCT GstQueueClass ##### -->
+<!-- ##### FUNCTION gst_audiosink_sync_parms ##### -->
 <para>
 
 </para>
 
+@audiosink: 
 
-<!-- ##### MACRO GST_SINK_FLAG_LAST ##### -->
+<!-- ##### MACRO GST_IS_OBJECT_CLASS ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IDENTITY_CLASS ##### -->
+<!-- ##### FUNCTION gst_pad_get_directory ##### -->
 <para>
 
 </para>
 
-@klass: 
+@pad: 
+@Returns: 
 
-<!-- ##### ARG GstTypeFind:caps ##### -->
+<!-- ##### MACRO GST_HTTPSRC ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IS_FDSINK_CLASS ##### -->
+<!-- ##### MACRO GST_ELEMENT ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_fakesrc_push ##### -->
+<!-- ##### MACRO GST_CPU_FLAG_SSE ##### -->
 <para>
-
+A flag indicating that SSE instructions are supported.
 </para>
 
-@src: 
 
-<!-- ##### FUNCTION gst_type_add_sink ##### -->
+<!-- ##### FUNCTION gst_pad_set_type_id ##### -->
 <para>
 
 </para>
 
+@pad: 
 @id: 
-@sink: 
 
-<!-- ##### MACRO GST_IS_IDENTITY_CLASS ##### -->
+<!-- ##### STRUCT GstAudioSrcClass ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### MACRO GST_IS_FDSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### STRUCT GstFakeSinkClass ##### -->
+<!-- ##### SECTION ./tmpl/GstElement.sgml:Long_Description ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_SRC_FLAGS ##### -->
+<!-- ##### ARG GstIdentity:control ##### -->
 <para>
-This macro returns the entire set of flags for the object.
+
 </para>
 
-@obj: GstSrc to return flags for.
 
-<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Title ##### -->
-GstGetbits
+<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Short_Description ##### -->
 
 
-<!-- ##### ARG GstFdSink:fd ##### -->
-<para>
-The filedescriptor to write to.
-</para>
+
+<!-- ##### SECTION ./tmpl/gstsink.sgml:Short_Description ##### -->
+The end point of a filter graph
 
 
-<!-- ##### ARG GstAsyncDiskSrc:length ##### -->
+<!-- ##### FUNCTION gst_connection_get_type ##### -->
 <para>
-Get the size of the current file.
+
 </para>
 
+@Returns: 
 
 <!-- ##### MACRO GST_FDSINK_CLASS ##### -->
 <para>
@@ -1267,489 +1311,482 @@ Get the size of the current file.
 
 @klass: 
 
-<!-- ##### FUNCTION gst_fdsink_new ##### -->
+<!-- ##### STRUCT GstFakeSrcClass ##### -->
 <para>
 
 </para>
 
-@name: 
-@Returns: 
 
-<!-- ##### SECTION ./tmpl/gstsrc.sgml:Short_Description ##### -->
-The start point of a filter graph
+<!-- ##### MACRO GST_OBJECT ##### -->
+<para>
 
+</para>
 
-<!-- ##### FUNCTION gst_src_push ##### -->
+@obj: 
+
+<!-- ##### FUNCTION gst_thread_get_type ##### -->
 <para>
 
 </para>
 
-@src
+@Returns
 
-<!-- ##### MACRO GST_IS_TEE ##### -->
+<!-- ##### MACRO GST_IS_SRC_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_type_get_sink_to_src ##### -->
+<!-- ##### FUNCTION gst_bin_get_type ##### -->
 <para>
 
 </para>
 
-@sinkid: 
-@srcid: 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_ESDSINK ##### -->
+<!-- ##### FUNCTION gst_pad_set_caps ##### -->
 <para>
 
 </para>
 
-@obj: 
+@pad: 
+@caps: 
 
-<!-- ##### MACRO GST_PROPS_INT_ID ##### -->
+<!-- ##### MACRO GST_IS_FAKESINK ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### STRUCT GstTeeClass ##### -->
+<!-- ##### MACRO GST_STATE_IS_SET ##### -->
 <para>
-
+This macro checks to see if the given state is set.
 </para>
 
+@obj: Element to check for state.
+@flag: State to check for, must be a single bit in guint32.
 
-<!-- ##### FUNCTION gst_sinesrc_push ##### -->
+<!-- ##### FUNCTION gst_type_save_thyself ##### -->
 <para>
 
 </para>
 
-@src: 
+@type: 
+@parent: 
+@Returns: 
 
-<!-- ##### MACRO GST_FAKESINK ##### -->
+<!-- ##### MACRO GST_IS_SINESRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_type_get_srcs ##### -->
+<!-- ##### FUNCTION gst_sinesrc_get_type ##### -->
 <para>
 
 </para>
 
-@id: 
 @Returns: 
 
-<!-- ##### FUNCTION gst_esdsink_set_frequency ##### -->
+<!-- ##### MACRO GST_BIN ##### -->
 <para>
 
 </para>
 
-@esdsink: 
-@frequency: 
+@obj: 
 
-<!-- ##### ARG GstFdSrc:bytesperread ##### -->
+<!-- ##### FUNCTION plugin_load_all ##### -->
 <para>
-The number of bytes per read.
-</para>
-
 
-<!-- ##### ARG GstFdSrc:location ##### -->
-<para>
-The filedescriptor to read from. Pass the argument as a char* (???)
 </para>
 
 
-<!-- ##### MACRO GST_FAKESRC_CLASS ##### -->
+<!-- ##### MACRO GST_TEE ##### -->
 <para>
 
 </para>
 
-@klass: 
-
-<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Short_Description ##### -->
-
-
+@obj: 
 
-<!-- ##### SECTION ./tmpl/gstesdsink.sgml:Long_Description ##### -->
+<!-- ##### FUNCTION gst_fdsink_get_type ##### -->
 <para>
 
 </para>
 
+@Returns: 
 
-<!-- ##### STRUCT GstBinClass ##### -->
+<!-- ##### MACRO GST_SRC_SET_FLAGS ##### -->
 <para>
-
+This macro sets the given flags.
 </para>
 
+@src: 
+@flag: Flag to set, can by any number of bits in guint32.
+@obj: GstSrc to set flag in.
 
-<!-- ##### MACRO GST_TYPE_DISKSRC ##### -->
+<!-- ##### MACRO GST_SRC_IS_ASYNC ##### -->
 <para>
-
+Query a GstSrc for the ASYNC flag
 </para>
 
+@obj: The GstSrc to query
 
-<!-- ##### MACRO GST_TYPE_SRC ##### -->
+<!-- ##### MACRO GST_TYPE_IDENTITY ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### FUNCTION gst_audiosrc_get_type ##### -->
+<!-- ##### FUNCTION gst_element_loopfunc_wrapper ##### -->
 <para>
-
 </para>
 
+@argc: 
+@argv: 
 @Returns: 
 
-<!-- ##### MACRO GST_FAKESRC ##### -->
+<!-- ##### MACRO GST_TYPE_FDSRC ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### FUNCTION gst_httpsrc_get_type ##### -->
+<!-- ##### FUNCTION gst_type_initialize ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### MACRO GST_IS_HTTPSRC ##### -->
+<!-- ##### STRUCT GstAudioSrc ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### MACRO GST_DISKSRC_CLASS ##### -->
+<!-- ##### SECTION ./tmpl/gstsink.sgml:Title ##### -->
+GstSink
+
+
+<!-- ##### FUNCTION gst_type_get_sink_to_src ##### -->
 <para>
 
 </para>
 
-@klass: 
+@sinkid: 
+@srcid: 
+@Returns: 
 
-<!-- ##### MACRO GST_IDENTITY ##### -->
+<!-- ##### MACRO GST_TYPE_FAKESRC ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### ARG GstAudioSrc:format ##### -->
+<!-- ##### MACRO GST_SINK_FLAG_LAST ##### -->
 <para>
-The audio format as defined in soundcard.h
+
 </para>
 
 
-<!-- ##### MACRO GST_IS_HTTPSRC_CLASS ##### -->
+<!-- ##### FUNCTION gst_queue_get_type ##### -->
 <para>
 
 </para>
 
-@obj
+@Returns
 
-<!-- ##### MACRO GST_ESDSINK_CLASS ##### -->
+<!-- ##### STRUCT GstSrc ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### MACRO GST_TYPE_ASYNCDISKSRC ##### -->
+<!-- ##### FUNCTION gst_connection_push ##### -->
 <para>
 
 </para>
 
+@connection: 
 
-<!-- ##### FUNCTION gst_audiosink_sync_parms ##### -->
+<!-- ##### MACRO GST_TYPE_CONNECTION ##### -->
 <para>
 
 </para>
 
-@audiosink: 
 
-<!-- ##### FUNCTION gst_elementfactory_add_sink ##### -->
+<!-- ##### SECTION ./tmpl/gstfilter.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@elementfactory: 
-@id: 
 
-<!-- ##### MACRO GST_IS_OBJECT ##### -->
+<!-- ##### MACRO GST_AUDIOSRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_STATE_UNSET ##### -->
+<!-- ##### MACRO GST_BUFFER ##### -->
 <para>
-This macro unsets the given state on the element.
+
 </para>
 
-@obj: Element to unset state of.
-@flag: State to unset, can be any number of bits in guint32.
+@buf: 
 
-<!-- ##### MACRO GST_IS_FAKESINK ##### -->
+<!-- ##### STRUCT GstQueueClass ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### MACRO GST_QUEUE_CLASS ##### -->
+<!-- ##### ARG GstTypeFind:type ##### -->
 <para>
-
+Query the element for the current mime type
 </para>
 
-@klass: 
 
-<!-- ##### FUNCTION gst_pad_set_type_id ##### -->
-<para>
+<!-- ##### SECTION ./tmpl/GstElement.sgml:Short_Description ##### -->
 
-</para>
 
-@pad: 
-@id: 
 
-<!-- ##### MACRO GST_TYPE_OBJECT ##### -->
+<!-- ##### SECTION ./tmpl/gstgetbits.sgml:Long_Description ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### ARG GstSineSrc:frequency ##### -->
+<!-- ##### FUNCTION gst_fakesink_get_type ##### -->
 <para>
-The fequency.
+
 </para>
 
+@Returns: 
 
-<!-- ##### FUNCTION gst_src_get_type ##### -->
+<!-- ##### FUNCTION gst_element_change_state ##### -->
 <para>
 
 </para>
 
+@element: 
+@state: 
 @Returns: 
 
-<!-- ##### ARG GstSineSrc:format ##### -->
+<!-- ##### MACRO GST_FAKESRC_CLASS ##### -->
 <para>
-The format ad defined in soundcard.h
+
 </para>
 
+@klass: 
 
-<!-- ##### FUNCTION gst_audiosink_set_frequency ##### -->
+<!-- ##### FUNCTION gst_type_dump ##### -->
 <para>
 
 </para>
 
-@audiosink: 
-@frequency: 
 
-<!-- ##### MACRO GST_TYPE_BIN ##### -->
+<!-- ##### STRUCT GstAudioSinkClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### STRUCT GstAudioSink ##### -->
+<!-- ##### MACRO GST_IDENTITY_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### FUNCTION gst_elementfactory_register ##### -->
+<!-- ##### STRUCT GstFdSink ##### -->
 <para>
 
 </para>
 
-@elementfactory: 
 
-<!-- ##### ARG GstAudioSrc:bytes_per_read ##### -->
+<!-- ##### ENUM GstPropsId ##### -->
 <para>
-The number of bytes per read.
+
 </para>
 
+@GST_PROPS_END_ID_NUM: 
+@GST_PROPS_LIST_ID_NUM: 
+@GST_PROPS_INT_ID_NUM: 
+@GST_PROPS_INT_RANGE_ID_NUM: 
+@GST_PROPS_FOURCC_ID_NUM: 
+@GST_PROPS_BOOL_ID_NUM: 
 
-<!-- ##### MACRO GST_IS_QUEUE ##### -->
+<!-- ##### STRUCT GstEsdSinkClass ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### FUNCTION gst_element_loopfunc_wrapper ##### -->
+<!-- ##### FUNCTION gst_esdsink_set_frequency ##### -->
 <para>
+
 </para>
 
-@argc: 
-@argv: 
-@Returns: 
+@esdsink: 
+@frequency: 
 
-<!-- ##### MACRO GST_IS_SINESRC ##### -->
+<!-- ##### ARG GstAsyncDiskSrc:length ##### -->
 <para>
+Get the size of the current file.
+</para>
 
+
+<!-- ##### MACRO GST_FILTER_FLAG_LAST ##### -->
+<para>
+subclass use this to start their flag enumeration
 </para>
 
-@obj: 
 
-<!-- ##### SIGNAL GstAudioSink::handoff ##### -->
+<!-- ##### MACRO ERROR_OBJECT ##### -->
 <para>
-The buffer is sent to the sound card.
+
 </para>
 
-@gstaudiosink: the object which received the signal.
-@arg1: the audiosink.
+@element: 
+@object: 
+@format: 
+@args...: 
 
-<!-- ##### ARG GstDiskSrc:location ##### -->
+<!-- ##### ENUM GstSrcFlags ##### -->
 <para>
-Specify the location of the file to read.
+Flags for the GstSrc element
 </para>
 
+@GST_SRC_ASYNC: Indicates that this src is asynchronous
+@GST_SRC_FLAG_LAST: subclasses can use this to number their flags
 
-<!-- ##### MACRO GST_IS_FDSRC_CLASS ##### -->
+<!-- ##### MACRO GST_TYPE_PIPELINE ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### SIGNAL GstElement::eos ##### -->
+<!-- ##### MACRO GST_TYPE_SINESRC ##### -->
 <para>
 
 </para>
 
-@gstelement: the object which received the signal.
 
-<!-- ##### FUNCTION gst_sinesrc_get_type ##### -->
+<!-- ##### FUNCTION gst_esdsink_new ##### -->
 <para>
 
 </para>
 
+@name: 
 @Returns: 
 
-<!-- ##### MACRO ERROR_OBJECT ##### -->
+<!-- ##### FUNCTION gst_audiosink_set_channels ##### -->
 <para>
 
 </para>
 
-@element: 
-@object: 
-@format: 
-@args...: 
+@audiosink: 
+@channels: 
 
-<!-- ##### ARG GstThread:create_thread ##### -->
+<!-- ##### STRUCT GstSrcClass ##### -->
 <para>
-TRUE if the thread should be created.
 
 </para>
 
 
-<!-- ##### MACRO GST_IS_IDENTITY ##### -->
+<!-- ##### FUNCTION gst_thread_iterate ##### -->
 <para>
 
 </para>
 
-@obj
+@thread
 
-<!-- ##### MACRO GST_AUDIOSRC ##### -->
+<!-- ##### MACRO GST_AUDIOSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_TYPE_ESDSINK ##### -->
+<!-- ##### SECTION ./tmpl/plugin.sgml:See_Also ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_FDSRC ##### -->
+<!-- ##### MACRO GST_IS_BIN ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_IS_OBJECT_CLASS ##### -->
+<!-- ##### MACRO GST_TYPE_PAD ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### FUNCTION gst_esdsink_chain ##### -->
+<!-- ##### MACRO GST_IS_TEE ##### -->
 <para>
 
 </para>
 
-@pad: 
-@buf: 
+@obj: 
 
-<!-- ##### ARG GstFakeSrc:loop_based ##### -->
+<!-- ##### FUNCTION gst_elementfactory_add_sink ##### -->
 <para>
 
 </para>
 
+@elementfactory: 
+@id: 
 
-<!-- ##### FUNCTION gst_audiosink_get_type ##### -->
+<!-- ##### FUNCTION gst_fakesrc_get_type ##### -->
 <para>
 
 </para>
 
 @Returns: 
 
-<!-- ##### MACRO GST_OBJECT_CLASS ##### -->
+<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
 <para>
 
 </para>
 
-@klass: 
 
-<!-- ##### SECTION ./tmpl/gstconnection.sgml:Long_Description ##### -->
+<!-- ##### FUNCTION gst_pad_get_type_id ##### -->
 <para>
-A connection is a bas class for a generic connection between
-elements. A connection is typically a bas class for queues.
 
 </para>
 
+@pad: 
+@Returns: 
 
-<!-- ##### MACRO GST_BUFFER ##### -->
+<!-- ##### SECTION ./tmpl/gstsink.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@buf: 
-
-<!-- ##### MACRO GST_SRC_IS_ASYNC ##### -->
-<para>
-Query a GstSrc for the ASYNC flag
-</para>
-
-@obj: The GstSrc to query
 
-<!-- ##### MACRO GST_PIPELINE ##### -->
+<!-- ##### FUNCTION gst_queue_chain ##### -->
 <para>
 
 </para>
 
-@obj: 
+@pad: 
+@buf: 
 
-<!-- ##### MACRO GST_STATE_SET ##### -->
+<!-- ##### STRUCT GstAudioSink ##### -->
 <para>
-This macro sets the given state on the element.
+
 </para>
 
-@obj: Element to set state of.
-@flag: State to set, can be any number of bits in guint32.
 
-<!-- ##### FUNCTION gst_queue_chain ##### -->
+<!-- ##### FUNCTION gst_audiosink_chain ##### -->
 <para>
 
 </para>
@@ -1757,541 +1794,335 @@ This macro sets the given state on the element.
 @pad: 
 @buf: 
 
-<!-- ##### MACRO GST_TYPE_QUEUE ##### -->
+<!-- ##### MACRO GST_OBJECT_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### FUNCTION gst_fakesink_get_type ##### -->
+<!-- ##### MACRO GST_THREAD ##### -->
 <para>
 
 </para>
 
-@Returns
+@obj
 
-<!-- ##### SIGNAL GstFakeSink::handoff ##### -->
+<!-- ##### MACRO GST_IS_FAKESINK_CLASS ##### -->
 <para>
 
 </para>
 
-@gstfakesink: the object which received the signal.
+@obj: 
 
-<!-- ##### MACRO GST_TYPE_CONNECTION ##### -->
+<!-- ##### MACRO GST_CONNECTION_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### MACRO GST_CONNECTION ##### -->
+<!-- ##### STRUCT GstFdSrc ##### -->
 <para>
 
 </para>
 
-@obj: 
 
-<!-- ##### MACRO GST_TYPE_HTTPSRC ##### -->
+<!-- ##### STRUCT GstTeeClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_TYPE_PAD ##### -->
+<!-- ##### FUNCTION gst_sinesrc_push ##### -->
 <para>
 
 </para>
 
+@src: 
 
-<!-- ##### FUNCTION gst_src_push_region ##### -->
-<para>
-
-</para>
-
-@src: 
-@offset: 
-@size: 
-
-<!-- ##### FUNCTION gst_fdsink_get_type ##### -->
-<para>
-
-</para>
-
-@Returns: 
-
-<!-- ##### STRUCT GstPipelineClass ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO GST_IS_AUDIOSRC ##### -->
-<para>
-
-</para>
-
-@obj: 
-
-<!-- ##### MACRO DEBUG_ENTER ##### -->
-<para>
-
-</para>
-
-@format: 
-@args...: 
-
-<!-- ##### MACRO GST_DISKSRC ##### -->
+<!-- ##### FUNCTION gst_audiosink_set_frequency ##### -->
 <para>
 
 </para>
 
-@obj: 
+@audiosink: 
+@frequency: 
 
-<!-- ##### MACRO INFO_ELEMENT ##### -->
+<!-- ##### MACRO GST_TYPE_QUEUE ##### -->
 <para>
 
 </para>
 
-@cat: 
-@element: 
-@format: 
-@args...: 
 
-<!-- ##### MACRO GST_ELEMENT_CLASS ##### -->
+<!-- ##### FUNCTION gst_elementfactory_register ##### -->
 <para>
 
 </para>
 
-@klass
+@elementfactory
 
-<!-- ##### FUNCTION gst_fakesrc_new ##### -->
+<!-- ##### FUNCTION gst_audiosink_get_type ##### -->
 <para>
 
 </para>
 
-@name: 
 @Returns: 
 
-<!-- ##### MACRO GST_SINK_CLASS ##### -->
-<para>
-
-</para>
-
-@klass: 
-
-<!-- ##### STRUCT GstAudioSinkClass ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION gst_type_add_src ##### -->
+<!-- ##### MACRO GST_META ##### -->
 <para>
 
 </para>
 
-@id: 
-@src: 
+@meta: 
 
-<!-- ##### STRUCT GstFdSink ##### -->
+<!-- ##### FUNCTION gst_httpsrc_get_type ##### -->
 <para>
 
 </para>
 
+@Returns: 
 
-<!-- ##### FUNCTION gst_fakesrc_get_type ##### -->
+<!-- ##### FUNCTION gst_identity_get_type ##### -->
 <para>
 
 </para>
 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_PIPELINE ##### -->
+<!-- ##### MACRO GST_IS_ESDSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### STRUCT GstFdSinkClass ##### -->
+<!-- ##### FUNCTION gst_disksrc_get_type ##### -->
 <para>
 
 </para>
 
+@Returns: 
 
-<!-- ##### MACRO GST_IS_SINESRC_CLASS ##### -->
+<!-- ##### MACRO GST_FDSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### SECTION ./tmpl/gstfilter.sgml:Short_Description ##### -->
-Take data in and spit data out
-
-
-<!-- ##### MACRO GST_SRC_ASYNC ##### -->
-<para>
-This macro checks to see if the GST_SRC_ASYNC flag is set.
-</para>
-
-@obj: GstSrc to check for flag in.
-
-<!-- ##### MACRO GST_TYPE_SINESRC ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO GST_ASYNCDISKSRC_CLASS ##### -->
-<para>
-
-</para>
-
-@klass: 
-
-<!-- ##### STRUCT GstFdSrcClass ##### -->
+<!-- ##### STRUCT GstElementClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### MACRO GST_CPU_FLAG_SSE ##### -->
-<para>
-A flag indicating that SSE instructions are supported.
-</para>
-
-
-<!-- ##### FUNCTION gst_esdsink_sync_parms ##### -->
+<!-- ##### MACRO GST_TYPE_FILTER ##### -->
 <para>
 
 </para>
 
-@esdsink: 
 
-<!-- ##### MACRO GST_IS_CONNECTION_CLASS ##### -->
+<!-- ##### MACRO GST_IS_SINESRC_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_connection_push ##### -->
-<para>
-
-</para>
-
-@connection: 
-
-<!-- ##### SIGNAL GstBin::object-added ##### -->
-<para>
-is signaled whenever a new <classname>GstElement</classname> is added to the <classname>GstBin</classname>
-
-</para>
-
-@gstbin: the object which received the signal.
-@arg1: the element that was added
-
-<!-- ##### STRUCT GstDiskSrcClass ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION gst_audiosink_new ##### -->
-<para>
-
-</para>
-
-@name: 
-@Returns: 
-
-<!-- ##### ARG GstAsyncDiskSrc:size ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION gst_element_get_type ##### -->
-<para>
-
-</para>
-
-@Returns: 
-
-<!-- ##### MACRO GST_ESDSINK ##### -->
+<!-- ##### MACRO GST_IS_AUDIOSRC_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### STRUCT GstElementClass ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO GST_IS_SRC ##### -->
+<!-- ##### MACRO GST_IS_FDSRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_type_initialize ##### -->
+<!-- ##### STRUCT GstObjectClass ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### SECTION ./tmpl/gstfilter.sgml:Title ##### -->
-GstFilter
-
-
-<!-- ##### MACRO GST_TEE ##### -->
-<para>
-
-</para>
+<!-- ##### SECTION ./tmpl/GstElement.sgml:Title ##### -->
+GstElement
 
-@obj: 
 
-<!-- ##### MACRO GST_IS_QUEUE_CLASS ##### -->
+<!-- ##### MACRO GST_IS_ELEMENT_CLASS ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION gst_fdsrc_get_type ##### -->
+<!-- ##### STRUCT GstFilterClass ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### SIGNAL GstFakeSrc::handoff ##### -->
+<!-- ##### STRUCT GstFakeSrc ##### -->
 <para>
 
 </para>
 
-@gstfakesrc: the object which received the signal.
 
-<!-- ##### ENUM GstPropsId ##### -->
+<!-- ##### SECTION ./tmpl/gstesdsink.sgml:See_Also ##### -->
 <para>
 
 </para>
 
-@GST_PROPS_END_ID_NUM: 
-@GST_PROPS_LIST_ID_NUM: 
-@GST_PROPS_INT_ID_NUM: 
-@GST_PROPS_INT_RANGE_ID_NUM: 
-@GST_PROPS_FOURCC_ID_NUM: 
-@GST_PROPS_BOOL_ID_NUM: 
 
-<!-- ##### FUNCTION gst_pad_get_caps ##### -->
+<!-- ##### FUNCTION gst_pad_set_pull_function ##### -->
 <para>
 
 </para>
 
 @pad: 
-@Returns
+@pull
 
-<!-- ##### FUNCTION gst_pad_get_type_id ##### -->
+<!-- ##### STRUCT GstFakeSinkClass ##### -->
 <para>
 
 </para>
 
-@pad: 
-@Returns: 
 
-<!-- ##### FUNCTION gst_thread_iterate ##### -->
+<!-- ##### FUNCTION gst_esdsink_set_format ##### -->
 <para>
 
 </para>
 
-@thread: 
+@esdsink: 
+@format: 
 
-<!-- ##### ENUM GstCapsDefinition ##### -->
+<!-- ##### MACRO GST_ELEMENT_IS_MULTI_IN ##### -->
 <para>
+Query whether this object has multiple input pads.
 
 </para>
 
-@GST_CAPS_ALWAYS: 
-@GST_CAPS_MAYBE: 
+@obj: Element to query for multiple input pads.
 
-<!-- ##### ARG GstFdSrc:offset ##### -->
+<!-- ##### MACRO GST_DISKSRC_CLASS ##### -->
 <para>
-Get the current offset in the file.
-</para>
-
 
-<!-- ##### ARG GstPipefilter:command ##### -->
-<para>
-Sets the command to be executed.
 </para>
 
+@klass: 
 
-<!-- ##### STRUCT GstPadClass ##### -->
+<!-- ##### MACRO GST_PROPS_BOOL_ID ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### ENUM GstSrcFlags ##### -->
-<para>
-Flags for the GstSrc element
-</para>
-
-@GST_SRC_ASYNC: Indicates that this src is asynchronous
-@GST_SRC_FLAG_LAST: subclasses can use this to number their flags
-
-<!-- ##### ARG GstQueue:max_level ##### -->
+<!-- ##### MACRO GST_TYPE_FAKESINK ##### -->
 <para>
-Specify the maximum number of buffers in the queue before the queue
-blocks.
-</para>
-
 
-<!-- ##### ARG GstQueue:level ##### -->
-<para>
-Get the number of buffers in the queue.
 </para>
 
 
-<!-- ##### MACRO GST_HTTPSRC ##### -->
+<!-- ##### MACRO GST_CONNECTION ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Title ##### -->
-GstColorSpace
-
+<!-- ##### SECTION ./tmpl/plugin.sgml:Short_Description ##### -->
 
-<!-- ##### STRUCT GstAsyncDiskSrc ##### -->
-<para>
 
-</para>
 
-
-<!-- ##### FUNCTION gst_element_change_state ##### -->
+<!-- ##### FUNCTION gst_audiosrc_push ##### -->
 <para>
 
 </para>
 
-@element: 
-@state: 
-@Returns: 
+@src: 
 
-<!-- ##### STRUCT GstQueue ##### -->
+<!-- ##### MACRO GST_HTTPSRC_CLASS ##### -->
 <para>
 
 </para>
 
+@klass: 
 
-<!-- ##### STRUCT GstFilter ##### -->
+<!-- ##### MACRO GST_IS_CONNECTION_CLASS ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### MACRO GST_IS_BIN ##### -->
+<!-- ##### MACRO GST_IS_FILTER ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### FUNCTION plugin_initialize ##### -->
+<!-- ##### MACRO GST_IS_THREAD_CLASS ##### -->
 <para>
 
 </para>
 
+@obj: 
 
-<!-- ##### ARG GstAsyncDiskSrc:location ##### -->
-<para>
-Specify the location of the file to read.
-</para>
-
-
-<!-- ##### MACRO GST_TEE_CLASS ##### -->
+<!-- ##### MACRO GST_IDENTITY ##### -->
 <para>
 
 </para>
 
-@klass
+@obj
 
-<!-- ##### FUNCTION gst_queue_get_type ##### -->
+<!-- ##### STRUCT GstIdentity ##### -->
 <para>
 
 </para>
 
-@Returns: 
 
-<!-- ##### FUNCTION gst_asyncdisksrc_get_type ##### -->
+<!-- ##### FUNCTION gst_fdsink_new_with_fd ##### -->
 <para>
 
 </para>
 
+@name: 
+@fd: 
 @Returns: 
 
-<!-- ##### MACRO GST_AUDIOSINK_CLASS ##### -->
-<para>
-
-</para>
-
-@klass: 
-
-<!-- ##### ARG GstIdentity:loop_based ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO GST_SRC_CLASS ##### -->
-<para>
-
-</para>
+<!-- ##### SECTION ./tmpl/gstfilter.sgml:Title ##### -->
+GstFilter
 
-@klass: 
 
-<!-- ##### SECTION ./tmpl/gstcolorspace.sgml:Long_Description ##### -->
+<!-- ##### FUNCTION gst_elementfactory_add_src ##### -->
 <para>
 
 </para>
 
+@elementfactory: 
+@id: 
 
-<!-- ##### FUNCTION gst_type_load_thyself ##### -->
+<!-- ##### MACRO GST_BUFFER_POOL ##### -->
 <para>
 
 </para>
 
-@parent: 
-@Returns: 
+@buf: 
 
-<!-- ##### FUNCTION gst_esdsink_new ##### -->
+<!-- ##### FUNCTION gst_pad_get_caps ##### -->
 <para>
 
 </para>
 
-@name
+@pad
 @Returns: 
 
-<!-- ##### MACRO GST_PROPS_FOURCC_ID ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO DEBUG_LEAVE ##### -->
-<para>
-
-</para>
-
-@format: 
-@args...: 
-
 <!-- ##### FUNCTION gst_audiosink_set_format ##### -->
 <para>
 
@@ -2300,203 +2131,59 @@ Specify the location of the file to read.
 @audiosink: 
 @format: 
 
-<!-- ##### MACRO GST_SINESRC ##### -->
-<para>
-
-</para>
-
-@obj: 
-
-<!-- ##### SECTION ./tmpl/gstsink.sgml:Short_Description ##### -->
-The end point of a filter graph
-
-
-<!-- ##### MACRO INFO ##### -->
-<para>
-
-</para>
-
-@cat: 
-@format: 
-@args...: 
-
-<!-- ##### MACRO GST_IS_ASYNCDISKSRC_CLASS ##### -->
-<para>
-
-</para>
-
-@obj: 
-
-<!-- ##### FUNCTION gst_sinesrc_new ##### -->
-<para>
-
-</para>
-
-@name: 
-@Returns: 
-
-<!-- ##### ARG GstAudioSrc:curoffset ##### -->
-<para>
-Get the current number of bytes read.
-</para>
-
-
-<!-- ##### ARG GstAudioSrc:channels ##### -->
-<para>
-The number of channels (mono, stereo, ...)
-</para>
-
-
-<!-- ##### FUNCTION gst_plugin_init ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### STRUCT GstFakeSink ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### SECTION ./tmpl/plugin.sgml:Title ##### -->
-plugin
-
-
-<!-- ##### MACRO GST_STATE_IS_SET ##### -->
-<para>
-This macro checks to see if the given state is set.
-</para>
-
-@obj: Element to check for state.
-@flag: State to check for, must be a single bit in guint32.
-
-<!-- ##### SIGNAL GstObject::parent-set ##### -->
+<!-- ##### MACRO GST_AUDIOSINK_CLASS ##### -->
 <para>
 
 </para>
 
-@gstobject: the object which received the signal.
-@arg1: the new parent
+@klass: 
 
-<!-- ##### MACRO GST_IS_PAD ##### -->
+<!-- ##### MACRO GST_IS_AUDIOSINK ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_PROPS_LIST_ID ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### SECTION ./tmpl/gstconnection.sgml:See_Also ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION plugin_load ##### -->
+<!-- ##### FUNCTION gst_filter_get_type ##### -->
 <para>
 
 </para>
 
-@name: 
 @Returns: 
 
-<!-- ##### MACRO GST_IS_ELEMENT ##### -->
+<!-- ##### MACRO GST_SRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### STRUCT GstFakeSrcClass ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION gst_type_dump ##### -->
+<!-- ##### MACRO INFO_ELEMENT ##### -->
 <para>
 
 </para>
 
+@cat: 
+@element: 
+@format: 
+@args...: 
 
-<!-- ##### MACRO GST_IS_ASYNCDISKSRC ##### -->
+<!-- ##### MACRO GST_IS_CONNECTION ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### SIGNAL GstElement::error ##### -->
-<para>
-Is trigered whenever an error occured
-
-</para>
-
-@gstelement: the object which received the signal.
-@arg1: the error message
-
-<!-- ##### ARG GstAudioSink:channels ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### MACRO GST_SRC_SET_FLAGS ##### -->
-<para>
-This macro sets the given flags.
-</para>
-
-@src: 
-@flag: Flag to set, can by any number of bits in guint32.
-@obj: GstSrc to set flag in.
-
-<!-- ##### MACRO GST_BIN_CLASS ##### -->
-<para>
-
-</para>
-
-@klass: 
-
-<!-- ##### MACRO GST_ASYNCDISKSRC ##### -->
+<!-- ##### MACRO GST_IS_DISKSRC ##### -->
 <para>
 
 </para>
 
 @obj: 
 
-<!-- ##### MACRO GST_HTTPSRC_CLASS ##### -->
-<para>
-
-</para>
-
-@klass: 
-
-<!-- ##### MACRO DEBUG_LEAVE_STRING ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### ARG GstPad:active ##### -->
-<para>
-Indicates this pad is active
-</para>
-
-
-<!-- ##### FUNCTION gst_filter_get_type ##### -->
-<para>
-
-</para>
-
-@Returns: 
-
-<!-- ##### FUNCTION plugin_load_absolute ##### -->
+<!-- ##### FUNCTION gst_audiosink_new ##### -->
 <para>
 
 </para>
@@ -2504,24 +2191,12 @@ Indicates this pad is active
 @name: 
 @Returns: 
 
-<!-- ##### SECTION ./tmpl/gstsrc.sgml:Long_Description ##### -->
-<para>
-A GstSrc is the start of a filter graph. It typically is a file or an
-audio source. It provides data for the next element in the graph.
-
-</para>
-
-
-<!-- ##### STRUCT GstObjectClass ##### -->
+<!-- ##### MACRO GST_TYPE_ESDSINK ##### -->
 <para>
 
 </para>
 
 
-<!-- ##### SECTION ./tmpl/gstsink.sgml:Title ##### -->
-GstSink
-
-
 <!-- ##### MACRO GST_CPU_FLAG_MMX ##### -->
 <para>
 A flag indicating that MMX instructions are supported.
index 687c033..7768424 100644 (file)
@@ -14,3 +14,23 @@ Create a sine wave of a given frequency and volume.
 
 </para>
 
+<!-- ##### ARG GstSineSrc:volume ##### -->
+<para>
+The volume as a double 0.0 is silent, 1.0 is loudest.
+</para>
+
+<!-- ##### ARG GstSineSrc:format ##### -->
+<para>
+The format ad defined in soundcard.h
+</para>
+
+<!-- ##### ARG GstSineSrc:channels ##### -->
+<para>
+The number of channels.
+</para>
+
+<!-- ##### ARG GstSineSrc:frequency ##### -->
+<para>
+The fequency.
+</para>
+
index 659af8e..1a0aed8 100644 (file)
@@ -43,3 +43,9 @@ thread flags
 @Returns: 
 
 
+<!-- ##### ARG GstThread:create_thread ##### -->
+<para>
+TRUE if the thread should be created.
+
+</para>
+
index 4fb5972..ace6c21 100644 (file)
@@ -15,3 +15,16 @@ the detected mime type of the stream. It is used in autoplugging.
 
 </para>
 
+<!-- ##### SIGNAL GstTypeFind::have-type ##### -->
+<para>
+The signal to indicate the mime type was detected.
+</para>
+
+@gsttypefind: the object which received the signal.
+@arg1: The mime type that was detected
+
+<!-- ##### ARG GstTypeFind:caps ##### -->
+<para>
+
+</para>
+
index 2da0080..4caef09 100644 (file)
@@ -12,7 +12,6 @@ sgml_files = gstreamer-manual.sgml \
              dynamic.sgml \
              elements.sgml \
              factories.sgml \
-             ghostpads.sgml \
              goals.sgml \
              helloworld.sgml \
              helloworld2.sgml \
index e9069b3..eb89b4c 100644 (file)
     </itemizedlist>
   </para>
 
-  <para> 
-    The application programmer can create custom bins packed with elements to perform a 
-    specific task. This allow you to write an MPEG audio decoder with just the follwing lines
-    of code:
+  <sect1 id="sec-bin-create">
+    <title>Creating a bin</title>
+    <para>
+      You create a bin with  a specified name 'mybin' with:
+    </para>
+    <programlisting>
+  GstElement *bin;
+  
+  gst_bin_new ("mybin");
+   ...
+    </programlisting>
+    <para>
+      A thread can be created with:
+    </para>
+    <programlisting>
+  GstElement *thread;
+  
+  gst_thread_new ("mythread");
+   ...
+    </programlisting>
+    <para>
+      Pipelines are created with gst_pipeline_new ("name");
+    </para>
+  </sect1>
 
+  <sect1 id="sec-bin-adding">
+    <title>Adding elements to a bin</title>
+    <para>
+      Elements are added to a bin with the following code sample: 
+    </para>
+    <programlisting>
+  GstElement *element;
+  GstElement *bin;
+  
+  bin = gst_bin_new ("mybin");
+  
+  element = gst_elementfactory_make ("mpg123", "decoder");
+  gst_bin_add (GST_BIN (bin), element);
+   ...
+    </programlisting>
+    <para>
+      Bins and threads can be added to other bins too. This allows you to create nested 
+      bins.
+    </para>
+    <para>
+      To get an element from the bin you can use: 
+    </para>
+    <programlisting>
+  GstElement *element;
+  
+  element = gst_bin_get_by_name (GST_BIN (bin), "decoder");
+   ...
+    </programlisting>
+    <para>
+      You can see that the name of the element becomes very handy for retrieving the
+      element from an bin by using the elements name. gst_bin_get_by_name () will 
+      recursively search nested bins.
+    </para>
+    <para>
+      To get a list of elements in a bin, use:
+    </para>
     <programlisting>
+  GList *elements;
+  
+  elements = gst_bin_get_list (GST_BIN (bin));
 
-      // create the mp3player element
-      GstElement *mp3player = gst_elementfactory_make("mp3player","mp3player");
-      // set the source mp3 audio file
-      gtk_object_set(GTK_OBJECT(mp3player), "location", "helloworld.mp3", NULL);
-      // tell the mp3player to prepare itself
-      gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_READY);
-      // start playback
-      gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_PLAYING);
-      ...
-      // pause playback
-      gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_PAUSED);
-      ...
-      // stop
-      gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_NULL);
+  while (elements) {
+    GstElement *element = GST_ELEMENT (elements-&gt;data);
+
+    g_print ("element in bin: %s\n", gst_element_get_name (element));
+
+    elements = g_list_next (elements);
+  }
+   ...
     </programlisting>
+    <para>
+      To remove an element from a bin use:
+    </para>
+    <programlisting>
+  GstElement *element;
+  
+  gst_bin_remove (GST_BIN (bin), element);
+   ...
+    </programlisting>
+  </sect1>
 
-    Custom bins can be created with a plugin or an XML description.
-  </para>
+  <sect1 id="sec-bin-custom">
+    <title>Custom bins</title>
+    <para> 
+      The application programmer can create custom bins packed with elements to perform a 
+      specific task. This allow you to write an MPEG audio decoder with just the follwing lines
+      of code:
+
+      <programlisting>
+
+  // create the mp3player element
+  GstElement *mp3player = gst_elementfactory_make("mp3player","mp3player");
+  // set the source mp3 audio file
+  gtk_object_set(GTK_OBJECT(mp3player), "location", "helloworld.mp3", NULL);
+  // start playback
+  gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_PLAYING);
+   ...
+  // pause playback
+  gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_PAUSED);
+   ...
+  // stop
+  gst_element_set_state(GST_ELEMENT(mp3player),GST_STATE_NULL);
+      </programlisting>
+
+      Custom bins can be created with a plugin or an XML description. You will find more 
+      information about creating custom bin in the Filter-Writers-Guide.
+    </para>
+  </sect1>
 
   <sect1 id="sec-bin-ghostpads">
     <title>Ghostpads</title>
     <para>
       A ghostpad is a pad from some element in the bin that has been promoted to the bin.
       This way, the bin also has a pad. The bin becomes just another element with a pad and
-      you can then use the bin just like any other element. 
+      you can then use the bin just like any other element. This is a very important feature
+      for creating custom bins.
     </para>
     
     <figure float="1" id="sec-bin-ghost-img">
       Above is a representation of a ghostpad. the sinkpad of element one is now also a pad
       of the bin.
     </para>
+    <para>
+      Ghostpads can actually be added to all <classname>GstElement</classname>s and not just
+      <classname>GstBin</classname>s. Use the following code example to add a ghostpad to a bin:
+    </para>
+    <programlisting>
+  GstElement *bin;
+  GstElement *element;
+
+  element = gst_elementfactory_create ("mpg123", "decoder");
+  bin = gst_bin_new ("mybin");
+
+  gst_bin_add (GST_BIN (bin), element);
+
+  gst_element_add_ghost_pad (bin, gst_element_get_pad (element, "sink"));
+  
+    </programlisting>
+    <para>
+      In the above example, the bin now also has a pad: the pad called 'sink' of the
+      given element. We can now, for example, connect the srcpad of a disksrc to the 
+      bin with:
+    </para>
+    <programlisting>
+  GstElement *disksrc;
+
+  disksrc = gst_elementfactory_create ("disksrc", "disk_reader");
+  
+  gst_element_connect (disksrc, "src", bin, "sink");
+    ...
+    </programlisting>
   </sect1>
 
 </chapter>
index 814aaf1..ca352dc 100644 (file)
     audiocard. We will use this simple graph to construct an mpeg player later
     in this manual.
   </para>
+  <para> 
+    You can connect two pads with:
+  </para>
+  <programlisting>
+ GstPad *srcpad, *sinkpad;
+
+ srcpad = gst_element_get_pad (element1, "src");
+ sinpad = gst_element_get_pad (element2, "sink");
+
+ // connect them
+ gst_pad_connect (srcpad, sinkpad);
+   ....
+ // and disconnect them
+ gst_pad_disconnect (srcpad, sinkpad);
+
+ </programlisting>
+  <para> 
+    A convenient shortcut for the above code is done with the gst_element_connect ()
+    function:
+  </para>
+  <programlisting>
+
+ // connect them
+ gst_element_connect (element1, "src", element2, "sink");
+   ....
+ // and disconnect them
+ gst_element_disconnect (element1, "src", element2, "sink");
+
+ </programlisting>
+  <para> 
+    You can query if a pad is connected with GST_PAD_IS_CONNECTED (pad). 
+  </para>
+  <para> 
+    To query for the <classname>GstPad</classname> this srcpad is connected to, use 
+    gst_pad_get_peer (srcpad).
+  </para>
+
 </chapter>
index 84f8c8e..0702fc9 100644 (file)
       </figure>
     </sect2>
   </sect1>
+  <sect1 id="sec-elements-create">
+    <title>Creating a GstElement</title>
+    <para> 
+      GstElements are created from factories. To create an element, one has to get
+      access the a <classname>GstElementFactory</classname> using a unique factoryname.
+    </para> 
+    <para> 
+      The following code example is used to get a factory that can be used to create the 
+      mpg123 element, an mp3 decoder.
+    </para> 
+    <programlisting>
+ GstElementFactory *factory;
+
+ factory = gst_elementfactory_find ("mpg123");
+    </programlisting>
+    <para> 
+      Once you have the handle to the elementfactory, you can create a real element with
+      the following code fragment:
+    </para> 
+    <programlisting>
+ GstElement *element;
+
+ element = gst_elementfactory_create (factory, "decoder");
+    </programlisting>
+    <para> 
+      gst_elementfactory_create () will use the elementfactory to create an element with the
+      given name. The name of the element is something you can use later on to lookup the
+      element in a bin, for example.
+    </para> 
+    <para> 
+      A simple shortcut exists for creating an element from a factory. The following example
+      creates an element, named "decoder" from the elementfactory named "mpg123". This 
+      convenient function is most widly used to create an element.
+    </para> 
+    <programlisting>
+ GstElement *element;
+
+ element = gst_elementfactory_make ("mpg123", "decoder");
+    </programlisting>
+    <para> 
+      An element can be destroyed with:  
+    </para> 
+    <programlisting>
+ GstElement *element;
+
+  ...
+ gst_element_destroy (element);
+    </programlisting>
+  </sect1>
 </chapter>
diff --git a/docs/manual/ghostpads.sgml b/docs/manual/ghostpads.sgml
deleted file mode 100644 (file)
index 276ab41..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<chapter id="cha-ghostpads">
-  <title>Ghostpads</title>
-  <para> 
-  </para>
-
-</chapter>
index be062ea..06d9b22 100644 (file)
@@ -18,7 +18,6 @@
 <!ENTITY QUEUES SYSTEM "queues.sgml">
 <!ENTITY COTHREADS SYSTEM "cothreads.sgml">
 <!ENTITY DYNAMIC SYSTEM "dynamic.sgml">
-<!ENTITY GHOSTPADS SYSTEM "ghostpads.sgml">
 <!ENTITY TYPEDETECTION SYSTEM "typedetection.sgml">
 <!ENTITY UTILITY SYSTEM "utility.sgml">
 
@@ -98,6 +97,8 @@
 <!-- ############ Basic concepts - chapter ############# -->
       &ELEMENTS;
 
+      &PLUGINS;
+
       &PADS;
 
       &CONNECTIONS;
       &BUFFERS;
 
       &STATES;
+
   </part>
 <!-- ############ Building Apps - part ############# -->
 
 
       &DYNAMIC;
 
-      &GHOSTPADS;
-
       &TYPEDETECTION;
 
       &UTILITY;
       &XML;
   </part>
 
-<!-- ############ XML in GStreamer - part ############# -->
-
-  <part id="plugins"><title>plugin development in <application>GStreamer</application></title>
-
-    <partintro>
-      <para>
-        In this part we will describe how you can create a new plugin
-       to be used in <application>GStreamer</application>.
-      </para>      
-    </partintro>
-
-      &PLUGINS;
-  </part>
 
 <!-- ############ Appendices - part ############# -->
 
index f4acf28..f9802e0 100644 (file)
@@ -138,7 +138,7 @@ main (int argc, char *argv[])
   bin = gst_bin_new ("bin");
     </programlisting>
     <para>
-      We use the standard constructor for a bin: gst_bin_new ("
+      We use the standard constructor for a bin: gst_bin_new ("name").
     </para>
 
     <para>
index 5a7fbf0..357bb3f 100644 (file)
@@ -9,6 +9,55 @@
     The description of this media type is done with capabilities (<classname>GstCaps</classname>)
   </para>
 
+  <sect1 id="sec-pads-get">
+    <title>Getting pads from an element</title>
+    <para> 
+      Once you have created an element, you can get one of its pads with:
+    </para>
+    <programlisting>
+ GstPad *srcpad;
+    ...
+ srcpad = gst_element_get_pad (element, "src");
+    ...
+    </programlisting>
+    <para> 
+      This function will get the pad named "src" from the given element. 
+    </para>
+    <para> 
+      Alternatively, you can also request a GList of pads from the element. The following
+      code example will print the names of all the pads of an element.
+    </para>
+    <programlisting>
+ GList *pads;
+    ...
+ pads = gst_element_get_pad_list (element);
+ while (pads) {
+   GstPad *pad = GST_PAD (pads-&gt;data);
+
+   g_print ("pad name %s\n", gst_pad_get_name (pad));
+   
+   pads = g_list_next (pads);
+ }
+    ...
+    </programlisting>
+    <sect2 id="sec-pads-functions">
+      <title>Usefull pad functions</title>
+      <para> 
+        You can get the name of a pad with gst_pad_get_name () and set its name with
+       get_pad_set_name();
+      </para> 
+      <para> 
+        gst_pad_get_direction (GstPad *pad) can be used to query if the pad is a sink 
+       or a src pad. Remember a src pad is a pad that can output data and a sink pad is 
+       one that accepts data.
+      </para> 
+      <para> 
+        You can get the parent of the pad, this is the element that this pad belongs to,
+       with get_pad_set_parent(GstPad *pad). This function will return a pointer to a
+       GstObject.
+      </para> 
+    </sect2>
+  </sect1>
   <sect1 id="sec-pads-description">
     <title>Capabilities of a GstPad</title>
     <para> 
@@ -136,6 +185,30 @@ Pads:
         </listitem>
       </itemizedlist>
     </sect2>
+    <sect2 id="sec-pads-caps-get">
+      <title>Getting the capabilities of a pad</title>
+      <para> 
+        A pad can have a GList of capabilities attached to it. You can get the capabilities list
+       with:
+      </para>
+    <programlisting>
+ GList *caps;
+    ...
+ caps = gst_pad_get_caps_list (pad);
+
+ g_print ("pad name %s\n", gst_pad_get_name (pad));
+ while (caps) {
+   GstCaps *cap = (GstCaps *) caps-&gt;data;
+
+   g_print (" Capability name %s, MIME type\n", gst_caps_get_name (cap), 
+                                                gst_caps_get_mime (cap));
+   
+   caps = g_list_next (caps);
+ }
+    ...
+    </programlisting>
+    </sect2>
 
   </sect1>
 </chapter>
index 00ffa18..4f7c57c 100644 (file)
@@ -1,6 +1,63 @@
 <chapter id="cha-plugins">
-  <title>Plugin development</title>
+  <title>What are Plugins</title>
   <para> 
+    A plugin is a shared library that contains at least one of the following items:
   </para>
 
+  <itemizedlist>
+    <listitem>
+      <para>
+        one or more elementfactories
+      </para>
+    </listitem>
+    <listitem>
+      <para>
+        one or more typedefinitions
+      </para>
+    </listitem>
+  </itemizedlist>
+  <para> 
+    The plugins have one simple method: plugin_init () where all the elementfactories are
+    created and the typedefinitions are registered.
+  </para> 
+  <para> 
+    the plugins are maintained in the plugin system. Optionally, the typedefinitions and 
+    the elementfactories can be saved into an XML representation so that the plugin system
+    does not have to load all available plugins in order to know their definition.
+  </para> 
+                                                                                                                 
+  <para> 
+    The basic plugin structure has the following fields:
+  </para> 
+  <programlisting>
+struct _GstPlugin {
+  gchar *name;                  /* name of the plugin */
+  gchar *longname;              /* long name of plugin */
+  gchar *filename;              /* filename it came from */
+
+  GList *types;                 /* list of types provided */
+  gint numtypes;
+  GList *elements;              /* list of elements provided */
+  gint numelements;
+
+  gboolean loaded;              /* if the plugin is in memory */
+};
+  </programlisting>
+
+  <para> 
+    You can query a GList of available plugins with:
+  </para> 
+  <programlisting>
+    GList *plugins;
+    
+    plugins = gst_plugin_get_list ();
+
+    while (plugins) {
+      GstPlugin *plugin = (GstPlugin *)plugins-&gt;data;
+
+      g_print ("plugin: %s\n", gst_plugin_get_name (plugin));
+
+      plugins = g_list_next (plugins);
+    }
+  </programlisting>
 </chapter>
index 91940a6..4bba6ae 100644 (file)
@@ -15,6 +15,7 @@ $(manualname)/$(htmlname): $(sgml_files) $(png_files)
 else
 $(manualname)/$(htmlname): $(sgml_files)
 endif
+
 if HAVE_DB2HTML
        db2html $(manualname).sgml
 else
diff --git a/gst/elements/gstesdsink.c b/gst/elements/gstesdsink.c
deleted file mode 100644 (file)
index 887a864..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* GStreamer
- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
- *                    2000 Wim Taymans <wtay@chello.be>
- *
- * gstesdsink.c: 
- *
- * 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.
- */
diff --git a/gst/elements/gstesdsink.h b/gst/elements/gstesdsink.h
deleted file mode 100644 (file)
index 61f0342..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/* GStreamer
- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
- *                    2000 Wim Taymans <wtay@chello.be>
- *
- * gstesdsink.h: 
- *
- * 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.
- */
-
-
-#ifndef __GST_ESDSINK_H__
-#define __GST_ESDSINK_H__
-
-
-#include <gst/gstfilter.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-
-#define GST_TYPE_ESDSINK \
-  (gst_esdsink_get_type())
-#define GST_ESDSINK(obj) \
-  (GTK_CHECK_CAST((obj),GST_TYPE_ESDSINK,GstEsdSink))
-#define GST_ESDSINK_CLASS(klass) \
-  (GTK_CHECK_CLASS_CAST((klass),GST_TYPE_ESDSINK,GstEsdSinkClass))
-#define GST_IS_ESDSINK(obj) \
-  (GTK_CHECK_TYPE((obj),GST_TYPE_ESDSINK))
-#define GST_IS_ESDSINK_CLASS(obj) \
-  (GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_ESDSINK))
-
-typedef struct _GstEsdSink GstEsdSink;
-typedef struct _GstEsdSinkClass GstEsdSinkClass;
-
-struct _GstEsdSink {
-  GstFilter filter;
-
-  GstPad *sinkpad;
-
-  /* soundcard state */
-  
-  int fd;
-  gint format;
-  gint channels;
-  gint frequency;
-};
-
-struct _GstEsdSinkClass {
-  GstFilterClass parent_class;
-
-  /* signals */
-  void (*handoff) (GstElement *element,GstPad *pad);
-};
-
-GtkType gst_esdsink_get_type(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-
-#endif /* __GST_ESDSINK_H__ */
index 09199cb..9c8b0e7 100644 (file)
@@ -145,7 +145,7 @@ gst_bin_init (GstBin *bin)
  * Returns: new bin
  */
 GstElement*
-gst_bin_new (gchar *name) 
+gst_bin_new (const gchar *name) 
 {
   return gst_elementfactory_make ("bin", name);
 }
@@ -391,7 +391,7 @@ gst_bin_real_destroy (GtkObject *object)
  */
 GstElement*
 gst_bin_get_by_name (GstBin *bin,
-                    gchar *name) 
+                    const gchar *name) 
 {
   GList *children;
   GstElement *child;
index d5ddad9..1c192de 100644 (file)
@@ -109,7 +109,7 @@ struct __GstBinChain {
 
 
 GtkType        gst_bin_get_type                (void);
-GstElement*    gst_bin_new                     (gchar *name);
+GstElement*    gst_bin_new                     (const gchar *name);
 #define        gst_bin_destroy(bin)            gst_object_destroy(GST_OBJECT(bin))
 
 /* add and remove elements from the bin */
@@ -120,7 +120,7 @@ void                gst_bin_remove                  (GstBin *bin,
 
 /* retrieve a single element or the list of children */
 GstElement*    gst_bin_get_by_name             (GstBin *bin,
-                                                gchar *name);
+                                                const gchar *name);
 GList*         gst_bin_get_list                (GstBin *bin);
 
 void           gst_bin_create_plan             (GstBin *bin);
index ce79539..17f5cfe 100644 (file)
@@ -35,7 +35,7 @@ _gst_caps_initialize (void)
 }
 
 static guint16
-get_type_for_mime (gchar *mime)
+get_type_for_mime (const gchar *mime)
 {
   guint16 typeid;
 
@@ -62,7 +62,7 @@ get_type_for_mime (gchar *mime)
  * Returns: a new capability
  */
 GstCaps*
-gst_caps_new (gchar *name, gchar *mime)
+gst_caps_new (const gchar *name, const gchar *mime)
 {
   GstCaps *caps;
 
@@ -88,7 +88,7 @@ gst_caps_new (gchar *name, gchar *mime)
  * Returns: a new capability
  */
 GstCaps*
-gst_caps_new_with_props (gchar *name, gchar *mime, GstProps *props)
+gst_caps_new_with_props (const gchar *name, const gchar *mime, GstProps *props)
 {
   GstCaps *caps;
   
@@ -157,6 +157,110 @@ gst_caps_register_count (GstCapsFactory *factory, guint *counter)
 }
 
 /**
+ * gst_caps_get_name:
+ * @caps: the caps to get the name from
+ *
+ * get the name of a GstCaps structure
+ *
+ * Returns: The name of the caps
+ */
+const gchar*    
+gst_caps_get_name (GstCaps *caps)
+{
+  g_return_val_if_fail (caps != NULL, NULL);
+
+  return (const gchar *)caps->name;
+}
+
+/**
+ * gst_caps_set_name:
+ * @caps: the caps to set the name to 
+ * @name: the name to set
+ *
+ * set the name of a caps
+ */
+void
+gst_caps_set_name (GstCaps *caps, const gchar *name)
+{
+  g_return_if_fail (caps != NULL);
+  if (caps->name)
+    g_free (caps->name);
+
+  caps->name = g_strdup (name);
+}
+
+/**
+ * gst_caps_get_mime:
+ * @caps: the caps to get the mime type from
+ *
+ * get the mime type of the caps as a string
+ *
+ * Returns: The mime type of the caps
+ */
+const gchar*    
+gst_caps_get_mime (GstCaps *caps)
+{
+  GstType *type;
+
+  g_return_val_if_fail (caps != NULL, NULL);
+
+  type = gst_type_find_by_id (caps->id);
+
+  if (type) 
+    return type->mime;
+  else 
+    return "unknown/unknown";
+}
+
+/**
+ * gst_caps_set_mime:
+ * @caps: the caps to set the mime type to
+ * @mime: the mime type to attach to the caps
+ *
+ * set the mime type of the caps as a string
+ */
+void
+gst_caps_set_mime (GstCaps *caps, const gchar *mime)
+{
+  g_return_if_fail (caps != NULL);
+  g_return_if_fail (mime != NULL);
+
+  caps->id = get_type_for_mime (mime);
+}
+
+/**
+ * gst_caps_get_type_id:
+ * @caps: the caps to get the type id from
+ *
+ * get the type id of the caps
+ *
+ * Returns: The type id of the caps
+ */
+guint16         
+gst_caps_get_type_id (GstCaps *caps)
+{
+  g_return_val_if_fail (caps != NULL, 0);
+
+  return caps->id;
+}
+
+/**
+ * gst_caps_set_type_id:
+ * @caps: the caps to set the type id to
+ * @typeid: the type id to set 
+ *
+ * set the type id of the caps
+ */
+void
+gst_caps_set_type_id (GstCaps *caps, guint16 typeid)
+{
+  g_return_if_fail (caps != NULL);
+
+  caps->id = typeid;
+}
+
+/**
  * gst_caps_set_props:
  * @caps: the caps to attach the properties to
  * @props: the properties to attach
index d4acb0a..a9282fe 100644 (file)
@@ -42,11 +42,20 @@ struct _GstCaps {
 /* initialize the subsystem */
 void           _gst_caps_initialize                    (void);
 
-GstCaps*       gst_caps_new                            (gchar *name, gchar *mime);
-GstCaps*       gst_caps_new_with_props                 (gchar *name, gchar *mime, GstProps *props);
+GstCaps*       gst_caps_new                            (const gchar *name, const gchar *mime);
+GstCaps*       gst_caps_new_with_props                 (const gchar *name, const gchar *mime, GstProps *props);
 GstCaps*       gst_caps_register                       (GstCapsFactory *factory);
 GstCaps*       gst_caps_register_count                 (GstCapsFactory *factory, guint *counter);
 
+const gchar*   gst_caps_get_name                       (GstCaps *caps);
+void           gst_caps_set_name                       (GstCaps *caps, const gchar *name);
+
+const gchar*   gst_caps_get_mime                       (GstCaps *caps);
+void           gst_caps_set_mime                       (GstCaps *caps, const gchar *mime);
+
+guint16        gst_caps_get_type_id                    (GstCaps *caps);
+void           gst_caps_set_type_id                    (GstCaps *caps, guint16 typeid);
+
 GstCaps*       gst_caps_set_props                      (GstCaps *caps, GstProps *props);
 GstProps*      gst_caps_get_props                      (GstCaps *caps);
 
index 8c6f7b5..8ece794 100644 (file)
@@ -231,7 +231,7 @@ gst_element_remove_ghost_pad (GstElement *element, GstPad *pad)
  * Returns: requested pad if found, otherwise NULL.
  */
 GstPad*
-gst_element_get_pad (GstElement *element, gchar *name) 
+gst_element_get_pad (GstElement *element, const gchar *name) 
 {
   GList *walk;
 
@@ -315,8 +315,8 @@ gst_element_get_padtemplate_list (GstElement *element)
  * parents, the connection fails.
  */
 void 
-gst_element_connect (GstElement *src, gchar *srcpadname,
-                     GstElement *dest, gchar *destpadname) 
+gst_element_connect (GstElement *src, const gchar *srcpadname,
+                     GstElement *dest, const gchar *destpadname) 
 {
   GstPad *srcpad,*destpad;
   GstObject *srcparent,*destparent;
@@ -356,6 +356,44 @@ gst_element_connect (GstElement *src, gchar *srcpadname,
 }
 
 /**
+ * gst_element_disconnect:
+ * @src: element containing source pad
+ * @srcpadname: name of pad in source element
+ * @dest: element containing destination pad
+ * @destpadname: name of pad in destination element
+ *
+ * Disconnect the two named pads of the source and destination elements.
+ */
+void 
+gst_element_disconnect (GstElement *src, const gchar *srcpadname,
+                        GstElement *dest, const gchar *destpadname) 
+{
+  GstPad *srcpad,*destpad;
+
+  g_return_if_fail (src != NULL);
+  g_return_if_fail (GST_IS_ELEMENT(src));
+  g_return_if_fail (srcpadname != NULL);
+  g_return_if_fail (dest != NULL);
+  g_return_if_fail (GST_IS_ELEMENT(dest));
+  g_return_if_fail (destpadname != NULL);
+
+  /* obtain the pads requested */
+  srcpad = gst_element_get_pad (src, srcpadname);
+  if (srcpad == NULL) {
+    GST_ERROR(src,"source element has no pad \"%s\"",srcpadname);
+    return;
+  }
+  destpad = gst_element_get_pad (dest, destpadname);
+  if (srcpad == NULL) {
+    GST_ERROR(dest,"destination element has no pad \"%s\"",destpadname);
+    return;
+  }
+
+  /* we're satisified they can be disconnected, let's do it */
+  gst_pad_disconnect(srcpad,destpad);
+}
+
+/**
  * gst_element_error:
  * @element: Element with the error
  * @error: String describing the error
@@ -364,7 +402,7 @@ gst_element_connect (GstElement *src, gchar *srcpadname,
  * condition.  It results in the "error" signal.
  */
 void 
-gst_element_error (GstElement *element, gchar *error) 
+gst_element_error (GstElement *element, const gchar *error) 
 {
   g_error("GstElement: error in element '%s': %s\n", element->name, error);
 
@@ -484,7 +522,7 @@ gst_element_change_state (GstElement *element)
  * one.
  */
 void 
-gst_element_set_name (GstElement *element, gchar *name) 
+gst_element_set_name (GstElement *element, const gchar *name) 
 {
   g_return_if_fail (element != NULL);
   g_return_if_fail (GST_IS_ELEMENT (element));
index eff5846..01f79b1 100644 (file)
@@ -183,21 +183,23 @@ GstElement*               gst_element_new                 (void);
 void                   gst_element_set_loop_function   (GstElement *element,
                                                         GstElementLoopFunction loop);
 
-void                   gst_element_set_name            (GstElement *element, gchar *name);
+void                   gst_element_set_name            (GstElement *element, const gchar *name);
 const gchar*           gst_element_get_name            (GstElement *element);
 
 void                   gst_element_set_manager         (GstElement *element, GstElement *manager);
 GstElement*            gst_element_get_manager         (GstElement *element);
 
 void                   gst_element_add_pad             (GstElement *element, GstPad *pad);
-GstPad*                        gst_element_get_pad             (GstElement *element, gchar *name);
+GstPad*                        gst_element_get_pad             (GstElement *element, const gchar *name);
 GList*                 gst_element_get_pad_list        (GstElement *element);
 GList*                 gst_element_get_padtemplate_list        (GstElement *element);
 void                   gst_element_add_ghost_pad       (GstElement *element, GstPad *pad);
 void                   gst_element_remove_ghost_pad    (GstElement *element, GstPad *pad);
 
-void                   gst_element_connect             (GstElement *src, gchar *srcpadname,
-                                                        GstElement *dest, gchar *destpadname);
+void                   gst_element_connect             (GstElement *src, const gchar *srcpadname,
+                                                        GstElement *dest, const gchar *destpadname);
+void                   gst_element_disconnect          (GstElement *src, const gchar *srcpadname,
+                                                        GstElement *dest, const gchar *destpadname);
 
 void                   gst_element_signal_eos          (GstElement *element);
 
@@ -205,7 +207,7 @@ void                        gst_element_signal_eos          (GstElement *element);
 /* called by the app to set the state of the element */
 gint                   gst_element_set_state           (GstElement *element, GstElementState state);
 
-void                   gst_element_error               (GstElement *element, gchar *error);
+void                   gst_element_error               (GstElement *element, const gchar *error);
 
 GstElementFactory*     gst_element_get_factory         (GstElement *element);
 
@@ -219,14 +221,14 @@ GstElement*               gst_element_load_thyself        (xmlNodePtr parent, GHashTable *elements);
  * factories stuff
  *
  **/
-GstElementFactory*     gst_elementfactory_new                  (gchar *name,GtkType type,
+GstElementFactory*     gst_elementfactory_new                  (const gchar *name,GtkType type,
                                                                 GstElementDetails *details);
 void                   gst_elementfactory_destroy              (GstElementFactory *elementfactory);
 
 void                   gst_elementfactory_add_padtemplate      (GstElementFactory *elementfactory, 
                                                                 GstPadTemplate *temp);
 
-GstElementFactory*     gst_elementfactory_find                 (gchar *name);
+GstElementFactory*     gst_elementfactory_find                 (const gchar *name);
 GList*                 gst_elementfactory_get_list             (void);
 
 gboolean               gst_elementfactory_can_src_caps         (GstElementFactory *factory,
@@ -239,9 +241,9 @@ gboolean            gst_elementfactory_can_sink_caps_list   (GstElementFactory *factory,
                                                                 GList *caps);
 
 GstElement*            gst_elementfactory_create               (GstElementFactory *factory,
-                                                                gchar *name);
+                                                                const gchar *name);
 /* FIXME this name is wrong, probably so is the one above it */
-GstElement*            gst_elementfactory_make                 (gchar *factoryname, gchar *name);
+GstElement*            gst_elementfactory_make                 (const gchar *factoryname, const gchar *name);
 
 xmlNodePtr             gst_elementfactory_save_thyself         (GstElementFactory *factory, xmlNodePtr parent); 
 GstElementFactory*     gst_elementfactory_load_thyself         (xmlNodePtr parent);
index ef94960..78c8af7 100644 (file)
@@ -61,7 +61,7 @@ gst_elementfactory_destroy (GstElementFactory *elementfactory)
  * Returns: #GstElementFactory if found, NULL otherwise
  */
 GstElementFactory*
-gst_elementfactory_find (gchar *name) 
+gst_elementfactory_find (const gchar *name) 
 {
   GList *walk;
   GstElementFactory *factory;
@@ -107,7 +107,7 @@ gst_elementfactory_get_list (void)
  * Returns: new elementfactory
  */
 GstElementFactory*
-gst_elementfactory_new (gchar *name, GtkType type,
+gst_elementfactory_new (const gchar *name, GtkType type,
                         GstElementDetails *details) 
 {
   GstElementFactory *factory = g_new0(GstElementFactory, 1);
@@ -138,7 +138,7 @@ gst_elementfactory_new (gchar *name, GtkType type,
  */
 GstElement *
 gst_elementfactory_create (GstElementFactory *factory,
-                           gchar *name) 
+                           const gchar *name) 
 {
   GstElement *element;
   GstElementClass *oclass;
@@ -184,7 +184,7 @@ gst_elementfactory_create (GstElementFactory *factory,
  * Returns: new #GstElement
  */
 GstElement*
-gst_elementfactory_make (gchar *factoryname, gchar *name) 
+gst_elementfactory_make (const gchar *factoryname, const gchar *name) 
 {
   GstElementFactory *factory;
   GstElement *element;
index 5446b31..c0d32c0 100644 (file)
@@ -158,7 +158,7 @@ gst_plugin_load_all(void)
  * Returns: whether the library was loaded or not
  */
 gboolean 
-gst_library_load (gchar *name) 
+gst_library_load (const gchar *name) 
 {
   gboolean res;
   GList *libraries = _gst_libraries;
@@ -173,7 +173,7 @@ gst_library_load (gchar *name)
   res = gst_plugin_load(name);
 
   if (res) {
-    _gst_libraries = g_list_prepend(_gst_libraries, name);
+    _gst_libraries = g_list_prepend(_gst_libraries, g_strdup (name));
   }
 
   return res;
@@ -205,7 +205,7 @@ gst_plugin_remove (GstPlugin *plugin)
  * Returns: whether the plugin was loaded or not
  */
 gboolean 
-gst_plugin_load (gchar *name) 
+gst_plugin_load (const gchar *name) 
 {
   GList *path;
   gchar *libspath;
@@ -244,7 +244,7 @@ gst_plugin_load (gchar *name)
  * Returns: whether or not the plugin loaded
  */
 gboolean 
-gst_plugin_load_absolute (gchar *name) 
+gst_plugin_load_absolute (const gchar *name) 
 {
   GModule *module;
   GstPluginInitFunc initfunc;
@@ -295,7 +295,7 @@ gst_plugin_load_absolute (gchar *name)
  * Returns: new plugin
  */
 GstPlugin*
-gst_plugin_new (gchar *name) 
+gst_plugin_new (const gchar *name) 
 {
   GstPlugin *plugin;
 
@@ -317,6 +317,40 @@ gst_plugin_new (gchar *name)
 }
 
 /**
+ * gst_plugin_get_name:
+ * @plugin: plugin to get the name of
+ *
+ * Get the short name of the plugin
+ *
+ * Returns: the name of the plugin
+ */
+const gchar*
+gst_plugin_get_name (GstPlugin *plugin)
+{
+  g_return_val_if_fail (plugin != NULL, NULL);
+
+  return plugin->name;
+}
+
+/**
+ * gst_plugin_set_name:
+ * @plugin: plugin to set name of
+ * @name: new name
+ *
+ * Sets the name (should be short) of the plugin.
+ */
+void
+gst_plugin_set_name (GstPlugin *plugin, const gchar *name)
+{
+  g_return_if_fail (plugin != NULL);
+
+  if (plugin->name)
+    g_free (plugin->name);
+
+  plugin->name = g_strdup (name);
+}
+
+/**
  * gst_plugin_set_longname:
  * @plugin: plugin to set long name of
  * @longname: new long name
@@ -324,15 +358,66 @@ gst_plugin_new (gchar *name)
  * Sets the long name (should be descriptive) of the plugin.
  */
 void 
-gst_plugin_set_longname (GstPlugin *plugin, gchar *longname) 
+gst_plugin_set_longname (GstPlugin *plugin, const gchar *longname) 
 {
   g_return_if_fail(plugin != NULL);
 
-  if (plugin->longname) g_free(plugin->longname);
+  if (plugin->longname) 
+    g_free(plugin->longname);
+
   plugin->longname = g_strdup(longname);
 }
 
 /**
+ * gst_plugin_get_longname:
+ * @plugin: plugin to get long name of
+ *
+ * Get the long descriptive name of the plugin
+ *
+ * Returns: the long name of the plugin
+ */
+const gchar*
+gst_plugin_get_longname (GstPlugin *plugin)
+{
+  g_return_val_if_fail (plugin != NULL, NULL);
+
+  return plugin->longname;
+}
+
+/**
+ * gst_plugin_get_filename:
+ * @plugin: plugin to get the filename of
+ *
+ * get the filename of the plugin
+ *
+ * Returns: the filename of the plugin
+ */
+const gchar*
+gst_plugin_get_filename (GstPlugin *plugin)
+{
+  g_return_val_if_fail (plugin != NULL, NULL);
+
+  return plugin->filename;
+}
+
+/**
+ * gst_plugin_is_loaded:
+ * @plugin: plugin to query
+ *
+ * queries if the plugin is loaded into memory
+ *
+ * Returns: TRUE is loaded, FALSE otherwise
+ */
+gboolean
+gst_plugin_is_loaded (GstPlugin *plugin)
+{
+  g_return_val_if_fail (plugin != NULL, FALSE);
+
+  return plugin->loaded;
+}
+
+
+/**
  * gst_plugin_find:
  * @name: name of plugin to find
  *
@@ -369,7 +454,7 @@ gst_plugin_find (const gchar *name)
  * Returns: @GstElementFactory if found, NULL if not
  */
 GstElementFactory*
-gst_plugin_find_elementfactory (gchar *name) 
+gst_plugin_find_elementfactory (const gchar *name) 
 {
   GList *plugins, *factories;
   GstElementFactory *factory;
@@ -400,7 +485,7 @@ gst_plugin_find_elementfactory (gchar *name)
  * Returns: @GstElementFactory if loaded, NULL if not
  */
 GstElementFactory*
-gst_plugin_load_elementfactory (gchar *name) 
+gst_plugin_load_elementfactory (const gchar *name) 
 {
   GList *plugins, *factories;
   GstElementFactory *factory = NULL;
@@ -447,7 +532,7 @@ gst_plugin_load_elementfactory (gchar *name)
  * Load a registered typefactory by mime type.
  */
 void 
-gst_plugin_load_typefactory (gchar *mime) 
+gst_plugin_load_typefactory (const gchar *mime) 
 {
   GList *plugins, *factories;
   GstTypeFactory *factory;
@@ -649,9 +734,34 @@ gst_plugin_load_thyself (xmlNodePtr parent)
 }
 
 
+/**
+ * gst_plugin_get_factory_list:
+ * @plugin: the plugin to get the factories from
+ *
+ * get a list of all the factories that this plugin provides
+ *
+ * Returns: a GList of factories
+ */
 GList*
 gst_plugin_get_factory_list (GstPlugin *plugin)
 {
+  g_return_val_if_fail (plugin != NULL, NULL);
+
   return plugin->elements;
 }
 
+/**
+ * gst_plugin_get_type_list:
+ * @plugin: the plugin to get the typefactories from
+ *
+ * get a list of all the typefactories that this plugin provides
+ *
+ * Returns: a GList of factories
+ */
+GList*
+gst_plugin_get_type_list (GstPlugin *plugin)
+{
+  g_return_val_if_fail (plugin != NULL, NULL);
+
+  return plugin->types;
+}
index ea6b0f6..13438ce 100644 (file)
@@ -52,25 +52,34 @@ typedef GstPlugin* (*GstPluginInitFunc) (GModule *module);
 
 void                   _gst_plugin_initialize          (void);
 
-GstPlugin*             gst_plugin_new                  (gchar *name);
-void                   gst_plugin_set_longname         (GstPlugin *plugin, gchar *longname);
+GstPlugin*             gst_plugin_new                  (const gchar *name);
+
+const gchar*           gst_plugin_get_name             (GstPlugin *plugin);
+void                   gst_plugin_set_name             (GstPlugin *plugin, const gchar *name);
+const gchar*           gst_plugin_get_longname         (GstPlugin *plugin);
+void                   gst_plugin_set_longname         (GstPlugin *plugin, const gchar *longname);
+
+const gchar*           gst_plugin_get_filename         (GstPlugin *plugin);
+gboolean               gst_plugin_is_loaded            (GstPlugin *plugin);
+
+GList*                 gst_plugin_get_type_list        (GstPlugin *plugin);
+GList*                 gst_plugin_get_factory_list     (GstPlugin *plugin);
 
 void                   gst_plugin_load_all             (void);
-gboolean               gst_plugin_load                 (gchar *name);
-gboolean               gst_plugin_load_absolute        (gchar *name);
-gboolean               gst_library_load                (gchar *name);
+gboolean               gst_plugin_load                 (const gchar *name);
+gboolean               gst_plugin_load_absolute        (const gchar *name);
+gboolean               gst_library_load                (const gchar *name);
 
 void                   gst_plugin_add_factory          (GstPlugin *plugin, GstElementFactory *factory);
 void                   gst_plugin_add_type             (GstPlugin *plugin, GstTypeFactory *factory);
-GList*                 gst_plugin_get_factory_list     (GstPlugin *plugin);
 
 GstPlugin*             gst_plugin_find                 (const gchar *name);
 GList*                 gst_plugin_get_list             (void);
 
-GstElementFactory*     gst_plugin_find_elementfactory  (gchar *name);
+GstElementFactory*     gst_plugin_find_elementfactory  (const gchar *name);
 
-GstElementFactory*     gst_plugin_load_elementfactory  (gchar *name);
-void                   gst_plugin_load_typefactory     (gchar *mime);
+GstElementFactory*     gst_plugin_load_elementfactory  (const gchar *name);
+void                   gst_plugin_load_typefactory     (const gchar *mime);
 
 xmlNodePtr             gst_plugin_save_thyself         (xmlNodePtr parent);
 void                   gst_plugin_load_thyself         (xmlNodePtr parent);
index df2a9d4..ad6279f 100644 (file)
@@ -97,7 +97,7 @@ gst_type_register (GstTypeFactory *factory)
 }
 
 static 
-guint16 gst_type_find_by_mime_func (gchar *mime) 
+guint16 gst_type_find_by_mime_func (const gchar *mime) 
 {
   GList *walk;
   GstType *type;
@@ -143,7 +143,7 @@ guint16 gst_type_find_by_mime_func (gchar *mime)
  * Returns: the type id
  */
 guint16 
-gst_type_find_by_mime (gchar *mime) 
+gst_type_find_by_mime (const gchar *mime) 
 {
   return gst_type_find_by_mime_func (mime);
 }
@@ -157,7 +157,7 @@ gst_type_find_by_mime (gchar *mime)
  * Returns: the type id
  */
 guint16 
-gst_type_find_by_ext (gchar *ext) 
+gst_type_find_by_ext (const gchar *ext) 
 {
   //FIXME
   g_warning ("gsttype: find_by_ext not implemented");
index 571e3c0..2e2ef0a 100644 (file)
@@ -58,8 +58,8 @@ void          _gst_type_initialize            (void);
 guint16        gst_type_register               (GstTypeFactory *factory);
 
 /* look up a type by mime or extension */
-guint16        gst_type_find_by_mime           (gchar *mime);
-guint16        gst_type_find_by_ext            (gchar *ext);
+guint16        gst_type_find_by_mime           (const gchar *mime);
+guint16        gst_type_find_by_ext            (const gchar *ext);
 
 /* get GstType by id */
 GstType*       gst_type_find_by_id             (guint16 id);
diff --git a/plugins/elements/gstesdsink.c b/plugins/elements/gstesdsink.c
deleted file mode 100644 (file)
index 887a864..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* GStreamer
- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
- *                    2000 Wim Taymans <wtay@chello.be>
- *
- * gstesdsink.c: 
- *
- * 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.
- */
diff --git a/plugins/elements/gstesdsink.h b/plugins/elements/gstesdsink.h
deleted file mode 100644 (file)
index 61f0342..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/* GStreamer
- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
- *                    2000 Wim Taymans <wtay@chello.be>
- *
- * gstesdsink.h: 
- *
- * 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.
- */
-
-
-#ifndef __GST_ESDSINK_H__
-#define __GST_ESDSINK_H__
-
-
-#include <gst/gstfilter.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-
-#define GST_TYPE_ESDSINK \
-  (gst_esdsink_get_type())
-#define GST_ESDSINK(obj) \
-  (GTK_CHECK_CAST((obj),GST_TYPE_ESDSINK,GstEsdSink))
-#define GST_ESDSINK_CLASS(klass) \
-  (GTK_CHECK_CLASS_CAST((klass),GST_TYPE_ESDSINK,GstEsdSinkClass))
-#define GST_IS_ESDSINK(obj) \
-  (GTK_CHECK_TYPE((obj),GST_TYPE_ESDSINK))
-#define GST_IS_ESDSINK_CLASS(obj) \
-  (GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_ESDSINK))
-
-typedef struct _GstEsdSink GstEsdSink;
-typedef struct _GstEsdSinkClass GstEsdSinkClass;
-
-struct _GstEsdSink {
-  GstFilter filter;
-
-  GstPad *sinkpad;
-
-  /* soundcard state */
-  
-  int fd;
-  gint format;
-  gint channels;
-  gint frequency;
-};
-
-struct _GstEsdSinkClass {
-  GstFilterClass parent_class;
-
-  /* signals */
-  void (*handoff) (GstElement *element,GstPad *pad);
-};
-
-GtkType gst_esdsink_get_type(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-
-#endif /* __GST_ESDSINK_H__ */