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 a64ea75 commit b1c8af5Copy full SHA for b1c8af5
src/lsl_inlet_c.cpp
@@ -11,7 +11,7 @@ using namespace lsl;
11
LIBLSL_C_API lsl_inlet lsl_create_inlet(
12
lsl_streaminfo info, int32_t max_buflen, int32_t max_chunklen, int32_t recover) {
13
return create_object_noexcept<stream_inlet_impl>(*info,
14
- info->nominal_srate() ? (int)(info->nominal_srate() * max_buflen) : max_buflen * 100,
+ (info->nominal_srate() ? (int)(info->nominal_srate() * max_buflen) : max_buflen * 100) + 1,
15
max_chunklen, recover != 0);
16
}
17
0 commit comments