[][src]Function lsl_sys::lsl_close_stream

pub unsafe extern "C" fn lsl_close_stream(in_: lsl_inlet)

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.