From 2a45c1b9d4e899b311b78fd4679cd8286676354c Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Mon, 20 Aug 2007 18:48:52 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Added dtmfsrc, a DTMF Tone Generator, and made it part of the 'dtmf' plugin. 20070820184852-4f0f6-a0d85e67708290aebafa89ab79d3cedd5815b620.gz --- gst/dtmf/gstdtmf.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gst/dtmf/gstdtmf.c (limited to 'gst/dtmf/gstdtmf.c') 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", ""); -- cgit v1.2.1