lslFormat property
lsl_channel_format_t
get
lslFormat
Gets the underlying lsl_channel_format_t value for the channel format.
Implementation
lsl_channel_format_t get lslFormat {
switch (this) {
case LSLChannelFormat.float32:
return lsl_channel_format_t.cft_float32;
case LSLChannelFormat.double64:
return lsl_channel_format_t.cft_double64;
case LSLChannelFormat.int8:
return lsl_channel_format_t.cft_int8;
case LSLChannelFormat.int16:
return lsl_channel_format_t.cft_int16;
case LSLChannelFormat.int32:
return lsl_channel_format_t.cft_int32;
case LSLChannelFormat.int64:
return lsl_channel_format_t.cft_int64;
case LSLChannelFormat.string:
return lsl_channel_format_t.cft_string;
case LSLChannelFormat.undefined:
return lsl_channel_format_t.cft_undefined;
}
}