summaryrefslogtreecommitdiffstats
path: root/gst/dtmf/gstdtmf.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2007-08-20 18:48:52 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:47:59 +0100
commit2a45c1b9d4e899b311b78fd4679cd8286676354c (patch)
treeee31c3fca678b844376707cf3b3aacfeeaf339e9 /gst/dtmf/gstdtmf.c
parent0127d7b6e59b8e605f7aead5cfa07ae7b1f87c34 (diff)
downloadgst-plugins-bad-2a45c1b9d4e899b311b78fd4679cd8286676354c.tar.gz
gst-plugins-bad-2a45c1b9d4e899b311b78fd4679cd8286676354c.tar.bz2
gst-plugins-bad-2a45c1b9d4e899b311b78fd4679cd8286676354c.zip
[MOVED FROM GST-P-FARSIGHT] Added dtmfsrc, a DTMF Tone Generator, and made it part of the 'dtmf' plugin.
20070820184852-4f0f6-a0d85e67708290aebafa89ab79d3cedd5815b620.gz
Diffstat (limited to 'gst/dtmf/gstdtmf.c')
-rw-r--r--gst/dtmf/gstdtmf.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/gst/dtmf/gstdtmf.c b/gst/dtmf/gstdtmf.c
new file mode 100644
index 00000000..30868857
--- /dev/null
+++ b/gst/dtmf/gstdtmf.c
@@ -0,0 +1,27 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gstdtmfsrc.h"
+#include "gstrtpdtmfsrc.h"
+
+
+static gboolean
+plugin_init (GstPlugin * plugin)
+{
+ if (!gst_dtmf_src_plugin_init (plugin))
+ return FALSE;
+
+ if (!gst_rtp_dtmf_src_plugin_init (plugin))
+ return FALSE;
+
+
+ return TRUE;
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "dtmf",
+ "DTMF plugins",
+ plugin_init, "0.1" , "LGPL", "DTMF", "");