comparison mgw/dtmf_defs.h @ 160:4b35a5a400f1

mgw/dtmf_defs.h: reduce DTMF_MIN_FRAMES to 5 (100 ms)
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2022 13:05:26 -0800
parents 815e4c59162e
children a6eb2de277f6
comparison
equal deleted inserted replaced
159:c8e9b295e88f 160:4b35a5a400f1
1 /* 1 /*
2 * This header file holds various internal definitions for DTMF generation, 2 * This header file holds various internal definitions for DTMF generation,
3 * including key tunable settings of min and max DTMF duration. 3 * including key tunable settings of min and max DTMF duration.
4 */ 4 */
5 5
6 #define DTMF_MIN_FRAMES 10 /* 200 ms */ 6 #define DTMF_MIN_FRAMES 5 /* 100 ms */
7 #define DTMF_MAX_FRAMES 60 /* 1200 ms */ 7 #define DTMF_MAX_FRAMES 60 /* 1200 ms */
8 8
9 struct dtmf_desc { 9 struct dtmf_desc {
10 int digit; 10 int digit;
11 float freq_low; 11 float freq_low;