Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/data_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ void data_receiver::data_thread() {
// get the header information
if (type == "byte-order") {
int use_byte_order = std::stoi(rest);
// needed for interoperability with liblsl ~1.13 and data protocol 100
if(use_byte_order == 0) use_byte_order = LSL_BYTE_ORDER;
auto value_size = format_sizes[conn_.type_info().channel_format()];
if (!lsl::can_convert_endian(use_byte_order, value_size))
throw std::runtime_error(
Expand Down