Skip to main content

Module window

Module window 

Source
Expand description

Rolling-window helpers for host-driven “partial-like” decode loops.

Aurum does not run a background streaming decoder. Hosts (e.g. dictation apps) can push PCM into a crate::pcm::PcmBuffer, then use these policies to decide when to call crate::LocalWhisperProvider::transcribe_pcm on a slice.

Migration (JOE-1605): prefer crate::partial::PartialSession for production partial UX (stable/unstable text, revision IDs, supersession cancel). PartialWindowPolicy and PartialClock remain supported for simple loops and as the energy/interval engine inside PartialSession.

Structs§

PartialClock
Tracks wall-clock spacing between partial attempts.
PartialWindowPolicy
Policy aligned with common hold-to-talk UX.