FreeCalypso > hg > gsm-codec-lib
diff libgsmfr2/tw_gsmfr.h @ 533:3a617e4e9b27
libgsmfr2: add const words with struct sizes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Sep 2024 21:58:10 +0000 |
parents | 79cd992de3ad |
children |
line wrap: on
line diff
--- a/libgsmfr2/tw_gsmfr.h Thu Sep 19 21:00:18 2024 +0000 +++ b/libgsmfr2/tw_gsmfr.h Thu Sep 19 21:58:10 2024 +0000 @@ -134,4 +134,10 @@ uint8_t *frame_out); int gsmfr_tfo_xfrm_dtxd(struct gsmfr_preproc_state *state, uint8_t *frame_out); +/* sizes of state structures, to support alternative malloc schemes */ + +extern const unsigned gsmfr_0610_state_size; +extern const unsigned gsmfr_preproc_state_size; +extern const unsigned gsmfr_fulldec_state_size; + #endif /* include guard */