annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
577
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef __DTX_CONST
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define __DTX_CONST
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 #include "typedefs.h"
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #define PN_INIT_SEED (Longword)0x1091988L /* initial seed for Comfort
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 * noise pn-generator */
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 #define CNINTPER 12 /* inperpolation period of CN
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 * parameters */
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 #define SPEECH 1
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 #define CNIFIRSTSID 2
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 #define CNICONT 3
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 #define CNIBFI 4
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 #define VALIDSID 11
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 #define INVALIDSID 22
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 #define GOODSPEECH 33
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 #define UNUSABLE 44
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
d68b2c92464a libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 #endif