lsl_open_stream function

  1. @Native<NativeLsl_open_stream>()
void lsl_open_stream(
  1. lsl_inlet in$,
  2. double timeout,
  3. Pointer<Int32> ec
)

Subscribe to the data stream.

All samples pushed in at the other end from this moment onwards will be queued and eventually be delivered in response to pull_sample() calls. Pulling a sample without some preceding lsl_open_stream() is permitted (the stream will then be opened implicitly). @param in The lsl_inlet object to act on. @param timeout Optional timeout of the operation. Use LSL_FOREVER to effectively disable it. @paramout ec Error code: if nonzero, can be either #lsl_timeout_error (if the timeout has expired) or lsl_lost_error (if the stream source has been lost).

Implementation

@ffi.Native<NativeLsl_open_stream>()
external void lsl_open_stream(
  lsl_inlet in$,
  double timeout,
  ffi.Pointer<ffi.Int32> ec,
);