-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
I believe the timeout parameter is missing in the following binding:
lsl_archived/LSL/liblsl-Csharp/LSL.cs
Lines 1032 to 1033 in 2ff44b7
[DllImport(libname, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)] | |
public static extern int lsl_wait_for_consumers(IntPtr obj); |
lsl_archived/LSL/liblsl-Csharp/LSL.cs
Lines 400 to 404 in 2ff44b7
/** | |
* Wait until some consumer shows up (without wasting resources). | |
* @return True if the wait was successful, false if the timeout expired. | |
*/ | |
public bool wait_for_consumers(double timeout) { return dll.lsl_wait_for_consumers(obj)>0; } |
The Api exposes:
lsl_archived/LSL/liblsl/include/lsl_c.h
Lines 598 to 602 in 2ff44b7
/** | |
* Wait until some consumer shows up (without wasting resources). | |
* @return True if the wait was successful, false if the timeout expired. | |
*/ | |
extern LIBLSL_C_API int32_t lsl_wait_for_consumers(lsl_outlet out, double timeout); |
Metadata
Metadata
Assignees
Labels
No labels