lsl_set_postprocessing function

  1. @Native<NativeLsl_set_postprocessing>()
int lsl_set_postprocessing(
  1. lsl_inlet in$,
  2. int flags
)

Set post-processing flags to use.

By default, the inlet performs NO post-processing and returns the ground-truth time stamps, which can then be manually synchronized using time_correction(), and then smoothed/dejittered if desired.

This function allows automating these two and possibly more operations. @warning When you enable this, you will no longer receive or be able to recover the original time stamps. @param in The lsl_inlet object to act on. @param flags An integer that is the result of bitwise OR'ing one or more options from #lsl_processing_options_t together (e.g., #proc_clocksync|#proc_dejitter); a good setting is to use #proc_ALL. @return The error code: if nonzero, can be #lsl_argument_error if an unknown flag was passed in.

Implementation

@ffi.Native<NativeLsl_set_postprocessing>()
external int lsl_set_postprocessing(lsl_inlet in$, int flags);