We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4501710 commit a509c16Copy full SHA for a509c16
src/data_receiver.cpp
@@ -227,6 +227,8 @@ void data_receiver::data_thread() {
227
// get the header information
228
if (type == "byte-order") {
229
int use_byte_order = std::stoi(rest);
230
+ // needed for interoperability with liblsl ~1.13 and data protocol 100
231
+ if(use_byte_order == 0) use_byte_order = LSL_BYTE_ORDER;
232
auto value_size = format_sizes[conn_.type_info().channel_format()];
233
if (!lsl::can_convert_endian(use_byte_order, value_size))
234
throw std::runtime_error(
0 commit comments