code wiki / _hdl_build / nx_jitterbuf_gate.nx

nx_jitterbuf_gate.nx

buildroot/runtime/_hdl_build/nx_jitterbuf_gate.nx

4829 B88 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_jitterbuf_gate.nx -- proves + MEASURES the sovereign adaptive playout-delay (nx_jitterbuf): the interp buffer sizes itself to MEASURED jitter so a bad-mobile link stays smooth without needless latency on a good link. 1) LOW jitter (regular arrivals) -> jitter ~0, playout near min (no needless latency) -- measured 2) HIGH jitter (irregular arrivals) -> jitter rises, playout GROWS to cover it -- measured 3) GROW FAST / SHRINK SLOW: a spike lifts playout immediately, then it decays gradually (not instantly) 4) clamp (neg): playout always within [min,max] Built nx_cc_sovereign -> nxasm_x86 (no gcc, no .sh). license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_gate_emit_lib.nx nx_jitterbuf.nx nx_gate_verdict.nx nx_jitterbuf_gate.nx

imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_jitterbuf.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main g_puts sys_write sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ jb_init jb_on_recv jb_jitter jb_playout g_pn sys_mmap ↻ sys_write ↻ g_check g_puts ↻ gv_ctr sys_mmap ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

14func main() -> i64