view 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 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;