lsl library

The liblsl.dart Library for LSL (Lab Streaming Layer) functionality.

Classes

LSL
Interface to the LSL library.
LSLApiConfig
LSL API Configuration class for Dart FFI wrapper of liblsl Represents the configuration options available in liblsl's configuration file. For more details, refer to the official LSL documentation: https://labstreaminglayer.readthedocs.io/info/lslapicfg.html Specifically, if you would like to use LSL over wireless networks, the documentation recommends using the following configuration: https://labstreaminglayer.readthedocs.io/info/lslapicfg.html#tuning timeProbeMaxRTT = 0.100 timeProbeInterval = 0.010 timeProbeCount = 10 timeUpdateInterval = 0.25 multicastMinRTT = 0.100 multicastMaxRTT = 30
LSLContentType
LSL content types used to identify the type of data being streamed.
LSLIsolatedInlet<T>
An isolate-ready implementation of LSL inlet
LSLIsolatedOutlet
An isolate-ready implementation of LSL outlet
LSLSample<T>
A representation of a sample.
LSLStreamInfo
Representation of the lsl_streaminfo_struct_ from the LSL C API.
LSLStreamResolverContinuous
Representation of the lsl_continuous_resolver_ from the LSL C API.

Enums

ConfigSection
Enum for config sections
IPv6Mode
IPv6 mode options
LSLChannelFormat
The stream info channel formats.
ResolveScope
Multicast resolve scope options

Extensions

FirstWhereOrNullExtension on Iterable<E>
Helper extension to add firstWhereOrNull functionality

Constants

LSL_FOREVER → const double
LSL_IRREGULAR_RATE → const double

Functions

runPreciseInterval<T>(Duration interval, T callback(T state), {required Completer<void> completer, dynamic state, Duration startBusyAt = const Duration(milliseconds: 1)}) → void
Run a callback at precise intervals.

Exceptions / Errors

LSLException
LSLException base exception class
LSLTimeout
LSLTimeout exception class