FreeCalypso > hg > themwi-rtp-lib
diff include/twjit.h @ 8:95f6c8ce33b0
twjit: prep for rework of time delta handling
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 05 Jul 2024 21:57:51 +0000 |
parents | 668b84c52094 |
children | 117fa99ff871 |
line wrap: on
line diff
--- a/include/twjit.h Fri Jul 05 21:38:21 2024 +0000 +++ b/include/twjit.h Fri Jul 05 21:57:51 2024 +0000 @@ -91,7 +91,11 @@ /* count of RTP timestamp units per quantum */ uint32_t ts_quantum; /* quanta per second, used to scale max_future_sec */ - uint32_t quanta_per_sec; + uint16_t quanta_per_sec; + /* scaling factors for time delta conversions */ + uint16_t ts_units_per_ms; + uint32_t ts_units_per_sec; + uint32_t ns_to_ts_units; /* operational state */ enum twrtp_jibuf_state state; struct twrtp_jibuf_sub sb[2];