aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLa haut sur la glutte <raspi@lahaut.surla.glutte.ch>2019-12-08 13:42:04 +0000
committerLa haut sur la glutte <raspi@lahaut.surla.glutte.ch>2019-12-08 13:42:04 +0000
commit7e36b51474a641f813fad07d261b2c9a758387be (patch)
treeb344bc177e416a6c56f0174a021323f0e140a986
parent54f1706ed1128ce44ab8bdea9f1d4dbb29330098 (diff)
downloadglutte-o-matic-7e36b51474a641f813fad07d261b2c9a758387be.tar.gz
glutte-o-matic-7e36b51474a641f813fad07d261b2c9a758387be.tar.bz2
glutte-o-matic-7e36b51474a641f813fad07d261b2c9a758387be.zip
Make 1750 react in 300ms instead of 500ms
-rw-r--r--src/common/Audio/tone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Audio/tone.c b/src/common/Audio/tone.c
index f9ef7db..5124c8a 100644
--- a/src/common/Audio/tone.c
+++ b/src/common/Audio/tone.c
@@ -126,7 +126,7 @@ static inline void push_dtmf_code(enum dtmf_code code)
// TODO: Does that depend on TONE_N?
const int thresh_dtmf = 200;
const int thresh_1750 = 300;
-const int num_1750_required = 5;
+const int num_1750_required = 3;
static void analyse_dtmf()
{