FreeCalypso > hg > ice1-trau-tester
changeset 34:f0b026615f3b
abis: forgot to clear tf.dl_ta_usec
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 13 Aug 2024 23:07:24 +0000 |
parents | 351bd801cdce |
children | 499d065ee591 |
files | abis/dl_frames.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/abis/dl_frames.c Tue Aug 13 22:53:42 2024 +0000 +++ b/abis/dl_frames.c Tue Aug 13 23:07:24 2024 +0000 @@ -45,6 +45,7 @@ st.type = OSMO_TRAU16_FT_FR; rc = osmo_rtp2trau(&tf, gsmfr_silence_frame, 33, &st); OSMO_ASSERT(rc == 0); + tf.dl_ta_usec = 0; rc = osmo_trau_frame_encode(dl_frame_fr, DL_OUTPUT_BUFLEN, &tf); OSMO_ASSERT(rc == DL_OUTPUT_LEN); } @@ -59,6 +60,7 @@ st.type = OSMO_TRAU16_FT_EFR; rc = osmo_rtp2trau(&tf, efr_dhf_rtp, 31, &st); OSMO_ASSERT(rc == 0); + tf.dl_ta_usec = 0; rc = osmo_trau_frame_encode(dl_frame_efr, DL_OUTPUT_BUFLEN, &tf); OSMO_ASSERT(rc == DL_OUTPUT_LEN); }