summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-07-12 19:09:02 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-08-24 12:24:18 -0400
commit4167697c0e58432447c73288b603f9a856700885 (patch)
treec2eadf16ec6191ae8efbd20f33249b16fa655377
parente8268053c24164fd3512a19f0d40d98683f1ea6b (diff)
dtmf: Max event type is 15
-rw-r--r--gst/dtmf/gstdtmfcommon.h4
-rw-r--r--gst/dtmf/gstdtmfsrc.c2
-rw-r--r--gst/dtmf/gstrtpdtmfsrc.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/gst/dtmf/gstdtmfcommon.h b/gst/dtmf/gstdtmfcommon.h
index aff881b98..82617d72f 100644
--- a/gst/dtmf/gstdtmfcommon.h
+++ b/gst/dtmf/gstdtmfcommon.h
@@ -9,9 +9,9 @@
#define MAX_VOLUME 36
#define MIN_EVENT 0
-#define MAX_EVENT 16
+#define MAX_EVENT 15
#define MIN_EVENT_STRING "0"
-#define MAX_EVENT_STRING "16"
+#define MAX_EVENT_STRING "15"
#ifndef M_PI
#define M_PI 3.14159265358979323846 /* pi */
diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c
index eb55268d7..a812e98ef 100644
--- a/gst/dtmf/gstdtmfsrc.c
+++ b/gst/dtmf/gstdtmfsrc.c
@@ -65,7 +65,7 @@
* <row>
* <entry>number</entry>
* <entry>G_TYPE_INT</entry>
- * <entry>0-16</entry>
+ * <entry>0-15</entry>
* <entry>The event number.</entry>
* </row>
* <row>
diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c
index 89e8c0027..875a02066 100644
--- a/gst/dtmf/gstrtpdtmfsrc.c
+++ b/gst/dtmf/gstrtpdtmfsrc.c
@@ -63,7 +63,7 @@
* <row>
* <entry>number</entry>
* <entry>G_TYPE_INT</entry>
- * <entry>0-16</entry>
+ * <entry>0-15</entry>
* <entry>The event number.</entry>
* </row>
* <row>