FreeCalypso > hg > gsmhr-codec-ref
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/globdefs.c Fri Jun 14 23:27:16 2024 +0000 @@ -0,0 +1,24 @@ +/*************************************************************************** + * + * File Name: globdefs.c + * + * Purpose: Defines global frame count, subframe count, + * and DTX on/off switch variables. + * + **************************************************************************/ +/* + Storage of global variables (definition) + to reference (declaration) these you must include "typeDefs.h" + */ + +int giFrmCnt; /* Frame count: 0,1,2,3,4,... */ +int giSfrmCnt = 0; /* Subframe count: 0,1,2,3 */ + + +/* + Global flag which indicates: DTX mode switched on/off + 1 - DTX mode switched on (speech encoder) + 0 - DTX mode switched off (speech encoder) + */ + +int giDTXon = 1;