dtmfdetect: reformat message docs

Use a list like in other element docs as an untweaked docbook table look ugly.
This commit is contained in:
Stefan Kost 2010-03-25 22:53:20 +02:00
parent d6f3ee4b90
commit 4f526f8aef

View file

@ -26,51 +26,34 @@
* SECTION:element-dtmfdetect * SECTION:element-dtmfdetect
* @short_description: Detects DTMF tones * @short_description: Detects DTMF tones
* *
* This element will detect DTMF tones and emit messages * This element will detect DTMF tones and emit messages.
* *
* The message is called "dtmf-event" and has the following fields * The message is called <classname>&quot;dtmf-event&quot;</classname> and has
* <informaltable> * the following fields:
* <tgroup cols='4'> * <itemizedlist>
* <colspec colname='Name' /> * <listitem>
* <colspec colname='Type' /> * <para>
* <colspec colname='Possible values' /> * gint <classname>type</classname> (0-1):
* <colspec colname='Purpose' /> * The application uses this field to specify which of the two methods
* <thead> * specified in RFC 2833 to use. The value should be 0 for tones and 1 for
* <row> * named events. Tones are specified by their frequencies and events are
* <entry>Name</entry> * specfied by their number. This element can only take events as input.
* <entry>GType</entry> * Do not confuse with "method" which specified the output.
* <entry>Possible values</entry> * </para>
* <entry>Purpose</entry> * </listitem>
* </row> * <listitem>
* </thead> * <para>
* <tbody> * gint <classname>number</classname> (0-16):
* <row> * The event number.
* <entry>type</entry> * </para>
* <entry>G_TYPE_INT</entry> * </listitem>
* <entry>0-1</entry> * <listitem>
* <entry>The application uses this field to specify which of the two methods * <para>
* specified in RFC 2833 to use. The value should be 0 for tones and 1 for * gint <classname>method</classname> (2):
* named events. Tones are specified by their frequencies and events are specied * This field will always been 2 (ie sound) from this element.
* by their number. This element can only take events as input. Do not confuse * </para>
* with "method" which specified the output. * </listitem>
* </entry> * </itemizedlist>
* </row>
* <row>
* <entry>number</entry>
* <entry>G_TYPE_INT</entry>
* <entry>0-16</entry>
* <entry>The event number.</entry>
* </row>
* <row>
* <entry>method</entry>
* <entry>G_TYPE_INT</entry>
* <entry>2</entry>
* <entry>This field will always been 2 (ie sound) from this element.
* </entry>
* </row>
* </tbody>
* </tgroup>
* </informaltable>
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H