FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/tw_gsmhr.h @ 630:f85ef5c4d044
libgsmhr1: provide sizes of state structures
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 12 Mar 2026 06:19:12 +0000 |
| parents | 993cb9273f89 |
| children |
line wrap: on
line diff
--- a/libgsmhr1/tw_gsmhr.h Thu Mar 12 05:59:37 2026 +0000 +++ b/libgsmhr1/tw_gsmhr.h Thu Mar 12 06:19:12 2026 +0000 @@ -75,4 +75,10 @@ extern const int16_t gsmhr_dhf_params[GSMHR_NUM_PARAMS]; extern const uint8_t gsmhr_dhf_ts101318[GSMHR_FRAME_LEN_RPF]; +/* sizes of state structures, to support alternative malloc schemes */ + +extern const unsigned gsmhr_encoder_state_size; +extern const unsigned gsmhr_decoder_state_size; +extern const unsigned gsmhr_rxfe_state_size; + #endif /* include guard */
