[][src]Function lsl_sys::lsl_open_stream

pub unsafe extern "C" fn lsl_open_stream(
    in_: lsl_inlet,
    timeout: f64,
    ec: *mut i32
)

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. @param[out] 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).