FreeCalypso > hg > gsmhr-codec-ref
comparison globdefs.c @ 0:9008dbc8ca74
import original C code from GSM 06.06
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Jun 2024 23:27:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9008dbc8ca74 |
---|---|
1 /*************************************************************************** | |
2 * | |
3 * File Name: globdefs.c | |
4 * | |
5 * Purpose: Defines global frame count, subframe count, | |
6 * and DTX on/off switch variables. | |
7 * | |
8 **************************************************************************/ | |
9 /* | |
10 Storage of global variables (definition) | |
11 to reference (declaration) these you must include "typeDefs.h" | |
12 */ | |
13 | |
14 int giFrmCnt; /* Frame count: 0,1,2,3,4,... */ | |
15 int giSfrmCnt = 0; /* Subframe count: 0,1,2,3 */ | |
16 | |
17 | |
18 /* | |
19 Global flag which indicates: DTX mode switched on/off | |
20 1 - DTX mode switched on (speech encoder) | |
21 0 - DTX mode switched off (speech encoder) | |
22 */ | |
23 | |
24 int giDTXon = 1; |