comparison mgw/dtmf_defs.h @ 170:a6eb2de277f6

mgw: massive simplification for continuous RTP stream from BTS
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 01:58:47 -0800
parents 4b35a5a400f1
children
comparison
equal deleted inserted replaced
169:648a64b2e16b 170:a6eb2de277f6
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 DTMF_MAX_FRAMES limit.
4 */ 4 */
5 5
6 #define DTMF_MIN_FRAMES 5 /* 100 ms */
7 #define DTMF_MAX_FRAMES 60 /* 1200 ms */ 6 #define DTMF_MAX_FRAMES 60 /* 1200 ms */
8 7
9 struct dtmf_desc { 8 struct dtmf_desc {
10 int digit; 9 int digit;
11 float freq_low; 10 float freq_low;