lsl_create_outlet function
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.
Implementation
@ffi.Native<NativeLsl_create_outlet>()
external lsl_outlet lsl_create_outlet(
lsl_streaminfo info,
int chunk_size,
int max_buffered,
);