FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/dtx_const.h @ 577:d68b2c92464a
libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 13 Feb 2025 03:06:11 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgsmhr1/dtx_const.h Thu Feb 13 03:06:11 2025 +0000 @@ -0,0 +1,22 @@ +#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