aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-10 09:31:40 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-10 09:31:40 +0200
commitc60aa4fbeb380d2565e25eaa38c3bfc621f667ec (patch)
tree961180d1bbba2e30886484ddda6c4d6229b17886 /src
parent3c99ae02b26ffd9ecd64fbefcd72d4f1561316af (diff)
downloadglutte-o-matic-c60aa4fbeb380d2565e25eaa38c3bfc621f667ec.tar.gz
glutte-o-matic-c60aa4fbeb380d2565e25eaa38c3bfc621f667ec.tar.bz2
glutte-o-matic-c60aa4fbeb380d2565e25eaa38c3bfc621f667ec.zip
Increase DTMF interval to 2.5s
Diffstat (limited to 'src')
-rw-r--r--src/common/src/Audio/tone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/Audio/tone.c b/src/common/src/Audio/tone.c
index fdac42c..edc1d50 100644
--- a/src/common/src/Audio/tone.c
+++ b/src/common/src/Audio/tone.c
@@ -94,7 +94,7 @@ static uint64_t dtmf_last_seen_at = 0;
// Store the sequence of dtmf codes in this FIFO. If no DTMF code gets
// decoded in the interval, a NONE gets inserted into the sequence
#define NUM_DTMF_SEQ 3
-#define DTMF_MAX_TONE_INTERVAL 1500
+#define DTMF_MAX_TONE_INTERVAL 2500
static enum dtmf_code dtmf_sequence[NUM_DTMF_SEQ];
static char* dtmf_to_str(enum dtmf_code code)