FreeCalypso > hg > gsm-codec-lib
view libgsmhr1/dtx_const.h @ 602:72cdae602d6e
libgsmhr1/dec_func.c: rm unused static functions
In the original code, sp_dec.c held two kinds of functions: those
needed only as part of the decoder, and those used by both decoder
and encoder engines. In this library, we have moved the latter
class of functions to dec_func.c module. Almost all static functions
from the original sp_dec.c, with the exception of aToRc(), are
needed only on sp_dec.c side of the new divide - remove them from
dec_func.c, where they became dead code.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 18:58:22 +0000 |
| parents | d68b2c92464a |
| children |
line wrap: on
line source
#ifndef __DTX_CONST #define __DTX_CONST #include "typedefs.h" #define PN_INIT_SEED (Longword)0x1091988L /* initial seed for Comfort * noise pn-generator */ #define CNINTPER 12 /* inperpolation period of CN * parameters */ #define SPEECH 1 #define CNIFIRSTSID 2 #define CNICONT 3 #define CNIBFI 4 #define VALIDSID 11 #define INVALIDSID 22 #define GOODSPEECH 33 #define UNUSABLE 44 #endif
