lsl_close_stream function

  1. @Native<NativeLsl_close_stream>()
void lsl_close_stream(
  1. lsl_inlet in$
)

Drop the current data stream.

All samples that are still buffered or in flight will be dropped and transmission and buffering of data for this inlet will be stopped. If an application stops being interested in data from a source (temporarily or not) but keeps the outlet alive, it should call lsl_close_stream() to not waste unnecessary system and network resources.

Implementation

@ffi.Native<NativeLsl_close_stream>()
external void lsl_close_stream(lsl_inlet in$);