From 4167697c0e58432447c73288b603f9a856700885 Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Tue, 12 Jul 2011 19:09:02 -0400 Subject: dtmf: Max event type is 15 --- gst/dtmf/gstdtmfcommon.h | 4 ++-- gst/dtmf/gstdtmfsrc.c | 2 +- gst/dtmf/gstrtpdtmfsrc.c | 2 +- 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 @@ * * number * G_TYPE_INT - * 0-16 + * 0-15 * The event number. * * 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 @@ * * number * G_TYPE_INT - * 0-16 + * 0-15 * The event number. * * -- cgit v1.2.3