mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
[MOVED FROM GST-P-FARSIGHT] Make it clear that dtmfsrc also takes named events as input
20080319211731-3e2dc-26c729f6dc8db27e71cf6b22646a81530dbf862f.gz
This commit is contained in:
parent
9681c48d07
commit
b83757155e
1 changed files with 6 additions and 6 deletions
|
@ -64,7 +64,7 @@
|
||||||
* <entry>0-1</entry>
|
* <entry>0-1</entry>
|
||||||
* <entry>The application uses this field to specify which of the two methods
|
* <entry>The application uses this field to specify which of the two methods
|
||||||
* specified in RFC 2833 to use. The value should be 0 for tones and 1 for
|
* specified in RFC 2833 to use. The value should be 0 for tones and 1 for
|
||||||
* named events. This element is only capable of generating tones.
|
* named events. This element is only capable of generating named events.
|
||||||
* </entry>
|
* </entry>
|
||||||
* </row>
|
* </row>
|
||||||
* <row>
|
* <row>
|
||||||
|
@ -91,9 +91,9 @@
|
||||||
* <row>
|
* <row>
|
||||||
* <entry>method</entry>
|
* <entry>method</entry>
|
||||||
* <entry>G_TYPE_INT</entry>
|
* <entry>G_TYPE_INT</entry>
|
||||||
* <entry>1</entry>
|
* <entry>2</entry>
|
||||||
* <entry>The method used for sending event, this element will react if this field
|
* <entry>The method used for sending event, this element will react if this
|
||||||
* is absent or 2.
|
* field is absent or 2.
|
||||||
* </entry>
|
* </entry>
|
||||||
* </row>
|
* </row>
|
||||||
* </tbody>
|
* </tbody>
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
* <para>
|
* <para>
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* structure = gst_structure_new ("dtmf-event",
|
* structure = gst_structure_new ("dtmf-event",
|
||||||
* "type", G_TYPE_INT, 0,
|
* "type", G_TYPE_INT, 1,
|
||||||
* "number", G_TYPE_INT, 1,
|
* "number", G_TYPE_INT, 1,
|
||||||
* "volume", G_TYPE_INT, 25,
|
* "volume", G_TYPE_INT, 25,
|
||||||
* "start", G_TYPE_BOOLEAN, TRUE, NULL);
|
* "start", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
#include "gstdtmfsrc.h"
|
#include "gstdtmfsrc.h"
|
||||||
|
|
||||||
#define GST_TONE_DTMF_TYPE_EVENT 0
|
#define GST_TONE_DTMF_TYPE_EVENT 1
|
||||||
#define DEFAULT_PACKET_INTERVAL 50 /* ms */
|
#define DEFAULT_PACKET_INTERVAL 50 /* ms */
|
||||||
#define MIN_PACKET_INTERVAL 10 /* ms */
|
#define MIN_PACKET_INTERVAL 10 /* ms */
|
||||||
#define MAX_PACKET_INTERVAL 50 /* ms */
|
#define MAX_PACKET_INTERVAL 50 /* ms */
|
||||||
|
|
Loading…
Reference in a new issue