FreeCalypso > hg > themwi-system-sw
annotate mgw/dtmf_defs.h @ 265:e4a93ad611f3
liboutrt: add prefix length output arg to route_e164_number()
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Mon, 13 Nov 2023 15:09:10 -0800 | 
| parents | a6eb2de277f6 | 
| children | 
| rev | line source | 
|---|---|
| 126 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 1 /* | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 2 * This header file holds various internal definitions for DTMF generation, | 
| 170 
a6eb2de277f6
mgw: massive simplification for continuous RTP stream from BTS
 Mychaela Falconia <falcon@freecalypso.org> parents: 
160diff
changeset | 3 * including DTMF_MAX_FRAMES limit. | 
| 126 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 4 */ | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 5 | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 6 #define DTMF_MAX_FRAMES 60 /* 1200 ms */ | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 7 | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 8 struct dtmf_desc { | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 9 int digit; | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 10 float freq_low; | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 11 float freq_high; | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 12 int16_t *samples; | 
| 
815e4c59162e
mgw DTMF: tone definitions and sample array generation
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 13 }; | 
