setPostProcessing method
Enables automatic post-processing of incoming time stamps.
By default an inlet does none, returning ground-truth time stamps in the sender's clock domain for you to synchronize with getTimeCorrection.
Warning: once enabled, the original time stamps are neither delivered nor recoverable. In particular LSLProcessingOptions.clockSync rewrites time stamps into the local domain, which conflicts with any layer that applies the correction itself.
Parameters:
options: the post-processing steps to enable. An empty set, like{LSLProcessingOptions.none}, disables post-processing. Throws: LSLException if liblsl rejects the flags.
Implementation
Future<void> setPostProcessing(Set<LSLProcessingOptions> options) async {
if (_useIsolates) return _setPostProcessingIsolated(options);
_setPostProcessingDirect(options);
}