view globdefs.c @ 5:59fc7fc126d0

mv utils.c reid.c In the original GSM 06.06 code drop, reid.c resides in the "utilities" collection (Dir_UTIL.zip), but there is also a copy of reid.c named utils.c in the "C" collection (Dir_C.zip), even though it is never compiled or linked as such. When I originally created the present Hg repository, I did not intend to include REID, only the main body of the codec - but I overlooked that utils.c copy, so it got imported. In the present time, however, it has become useful to have REID code in Hg for easier public study and discussion - so let's have it under its proper name.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Jul 2024 18:43:12 +0000
parents 9008dbc8ca74
children
line wrap: on
line source

/***************************************************************************
 *
 *   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;