code wiki / _hdl_build / nx_live_xlate_call.nx

nx_live_xlate_call.nx

buildroot/runtime/_hdl_build/nx_live_xlate_call.nx

1410 B26 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic live
docsdependenciesstructsconstsfunctions

about

nx_live_xlate_call.nx -- the CALL-LEVEL live-translation router for a 2-party video call. Each peer has a locale; a spoken utterance (recognized text) is translated into the LISTENER's language so each person reads the other in their own script. Same-locale = passthrough. Composes nx_mt_ruen. This is the deterministic, on-device call logic for "a girl in Belarus (RU) talking to a boy in Texas (EN)". The audio->text step (ASR) is the declared interface + RESEARCHER long-pole (V-ASR-1); transport is the existing relay (cross-NAT by construction). license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_mt_ruen.nx nx_live_xlate_call.nx nx_live_xlate_call_gate.nx

imports: nx_syscalls.nxnx_mt_ruen.nx

imported by: nx_live_xlate_call_gate.nx

structs

none

consts

10const LX_EN: i64 = 0
11const LX_RU: i64 = 1

functions

14func lx_caption_for_listener(utt: *u8, n: i64, speaker: i64, listener: i64, dst: *u8, cap: i64) -> i64
called by 1: main calls 1: nx_ruen_translate