FreeCalypso > hg > gsm-codec-lib
view libgsmhr1/rxfe_create.c @ 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 | 9cda792c0dd7 |
| children |
line wrap: on
line source
/* * Here we implement gsmhr_rxfe_create() function: allocation of a * free-standing RxFE state structure, used for our TFO transform. */ #include <stdint.h> #include <stdlib.h> #include "tw_gsmhr.h" #include "typedefs.h" #include "namespace.h" #include "rxfe.h" struct gsmhr_rxfe_state *gsmhr_rxfe_create(void) { struct gsmhr_rxfe_state *st; st = malloc(sizeof(struct gsmhr_rxfe_state)); if (st) gsmhr_rxfe_reset(st); return st; }
