Skip to main content

Module clock

Module clock 

Source
Expand description

Helpers for translating timestamps to process-monotonic i64 nanoseconds.

Built-in microphone and loopback backends on every OS pass monotonic arrival times to RawSink::push, which discards them: the raw ring carries samples only. The facade assigns a fresh arrival time at ingest and translates it with ClockNormalizer. Device timestamps are not used by the capture pipeline; these labels do not provide media-clock or cross-stream synchronization.

Structs§

ClockNormalizer
Translates input timestamps to the process-monotonic clock.

Functions§

monotonic_now_ns
Returns the current process monotonic clock value in nanoseconds.