Skip to main content

Module flags

Module flags 

Source
Expand description

The post-processing stages, as a bit set.

Bits 0 to 3 match include/lsl/common.h:103-126. Bits 4 and 5 are opt-in labstream extensions (docs/roadmap.md, steps 15 and 17) that leave the default CLOCKSYNC and ALL behavior bit-exact with liblsl.

Constantsยง

ALL
Every standard liblsl stage (CLOCKSYNC | DEJITTER | MONOTONIZE | THREADSAFE).
CLOCKSYNC
Add the measured clock offset.
DEJITTER
Remove jitter with a recursive least squares fit.
DEVICE_DELAY
Opt-in device-delay correction (docs/roadmap.md, step 15).
DRIFT
Opt-in linear offset-and-drift clock model (docs/roadmap.md, step 17).
MONOTONIZE
Never let a timestamp go backward.
NONE
Apply no stage. This is the default.
THREADSAFE
Guard the state with a lock.