[][src]Type Definition lsl_sys::lsl_streaminfo

type lsl_streaminfo = *mut lsl_streaminfo_struct_;

Handle to a stream info object. Stores the declaration of a data stream. Represents the following information:

  • stream data format (number of channels, channel format)
  • core information (stream name, content type, sampling rate)
  • optional meta-data about the stream content (channel labels, measurement units, etc.)

Whenever a program wants to provide a new stream on the lab network it will typically first create an lsl_streaminfo to describe its properties and then construct an #lsl_outlet with it to create the stream on the network. Other parties who discover/resolve the outlet on the network can query the stream info; it is also written to disk when recording the stream (playing a similar role as a file header).