diff libgsmfr2/tw_gsmfr.h @ 528:f681fb758041

libgsmfr2: add gsmfr_fulldec_rtp_in()
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Sep 2024 07:52:17 +0000
parents f3246d109e2d
children 79cd992de3ad
line wrap: on
line diff
--- a/libgsmfr2/tw_gsmfr.h	Thu Sep 19 07:03:12 2024 +0000
+++ b/libgsmfr2/tw_gsmfr.h	Thu Sep 19 07:52:17 2024 +0000
@@ -119,6 +119,11 @@
 void gsmfr_fulldec_bfi_bits(struct gsmfr_fulldec_state *state,
 			    const uint8_t *bad_frame, int taf, int16_t *pcm);
 
+/* handling of TW-TS-001 RTP input */
+int gsmfr_fulldec_rtp_in(struct gsmfr_fulldec_state *state,
+			 const uint8_t *rtp_pl, unsigned rtp_pl_len,
+			 int16_t *pcm);
+
 /* utility datum */
 extern const uint8_t gsmfr_decoder_homing_frame[GSMFR_RTP_FRAME_LEN];