[][src]Function lsl_sys::lsl_create_outlet

pub unsafe extern "C" fn lsl_create_outlet(
    info: lsl_streaminfo,
    chunk_size: i32,
    max_buffered: i32
) -> lsl_outlet

Establish a new stream outlet. This makes the stream discoverable. @param info The stream information to use for creating this stream. Stays constant over the lifetime of the outlet. @note the outlet makes a copy of the streaminfo object upon construction (so the old info should still be destroyed.) @param chunk_size Optionally the desired chunk granularity (in samples) for transmission. If specified as 0, each push operation yields one chunk. Stream recipients can have this setting bypassed. @param max_buffered Optionally the maximum amount of data to buffer (in seconds if there is a nominal sampling rate, otherwise x100 in samples). A good default is 360, which corresponds to 6 minutes of data. Note that, for high-bandwidth data you will almost certainly want to use a lower value here to avoid running out of RAM. @return A newly created lsl_outlet handle or NULL in the event that an error occurred.