FreeCalypso > hg > gsm-codec-lib
diff libtwamr/tw_amr.h @ 428:ffd87f972f86
libtwamr: implement TXFrameType to RXFrameType conversion
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 07 May 2024 22:15:23 +0000 |
parents | 09534cdc59ec |
children | 6fa27df6903b |
line wrap: on
line diff
--- a/libtwamr/tw_amr.h Tue May 07 21:45:47 2024 +0000 +++ b/libtwamr/tw_amr.h Tue May 07 22:15:23 2024 +0000 @@ -84,7 +84,7 @@ /* stateless utility functions: format conversions */ -enum RXFrameType amr_txtype_to_rxtype(enum TXFrameType tx_type); +int amr_txtype_to_rxtype(enum TXFrameType tx_type, enum RXFrameType *rx_type); unsigned amr_frame_to_ietf(const struct amr_param_frame *frame, uint8_t *bytes); int amr_frame_from_ietf(const uint8_t *bytes, struct amr_param_frame *frame);