labrecorder 1.0.0rc0__cp311-cp311-macosx_26_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of labrecorder might be problematic. Click here for more details.

@@ -0,0 +1,240 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Resources/CMake/LSLCMake.cmake</key>
8
+ <data>
9
+ Zt7WTFAb/QRTtYqKGDcgVAQ2rSk=
10
+ </data>
11
+ <key>Resources/CMake/LSLConfig-release.cmake</key>
12
+ <data>
13
+ fEDrd/WvfWqrFwACufI/QhPI5Vw=
14
+ </data>
15
+ <key>Resources/CMake/LSLConfig.cmake</key>
16
+ <data>
17
+ +07BJWLCHgkI4EwLibEK9LjnGxo=
18
+ </data>
19
+ <key>Resources/CMake/LSLConfigVersion.cmake</key>
20
+ <data>
21
+ QH/256Yx2vL0Khc4e6WldhGf59w=
22
+ </data>
23
+ <key>Resources/Info.plist</key>
24
+ <data>
25
+ P1F/gZCn/mjsSF8zJ+mLFyeTL+E=
26
+ </data>
27
+ </dict>
28
+ <key>files2</key>
29
+ <dict>
30
+ <key>Headers</key>
31
+ <dict>
32
+ <key>symlink</key>
33
+ <string>include</string>
34
+ </dict>
35
+ <key>Resources/CMake/LSLCMake.cmake</key>
36
+ <dict>
37
+ <key>hash2</key>
38
+ <data>
39
+ PUKq/pho5/6Bt8+JexN/LtcO/hMw+wShZR3exlZSieg=
40
+ </data>
41
+ </dict>
42
+ <key>Resources/CMake/LSLConfig-release.cmake</key>
43
+ <dict>
44
+ <key>hash2</key>
45
+ <data>
46
+ QVzwZnL4xMHcIz0bxYT02GdbNNC87UiJHwUYRUVlpcs=
47
+ </data>
48
+ </dict>
49
+ <key>Resources/CMake/LSLConfig.cmake</key>
50
+ <dict>
51
+ <key>hash2</key>
52
+ <data>
53
+ MXuXC7FjPDfj2AKg7H473iDhoCEEKtQ1/X/ofMYeA6M=
54
+ </data>
55
+ </dict>
56
+ <key>Resources/CMake/LSLConfigVersion.cmake</key>
57
+ <dict>
58
+ <key>hash2</key>
59
+ <data>
60
+ 1p2jg/bpgk3KK15bRZ5U075cs61PqP3oCCf3uRYEvug=
61
+ </data>
62
+ </dict>
63
+ <key>Resources/Info.plist</key>
64
+ <dict>
65
+ <key>hash2</key>
66
+ <data>
67
+ nqKWQysOkLwb2sC7z7xdv3nvanX0V0iCyACimSoGaeU=
68
+ </data>
69
+ </dict>
70
+ <key>include/lsl/common.h</key>
71
+ <dict>
72
+ <key>hash2</key>
73
+ <data>
74
+ 5sMfi45Q5qTeEMS6wAcRa9wKdhBZINAdWX0ZNhxISNE=
75
+ </data>
76
+ </dict>
77
+ <key>include/lsl/inlet.h</key>
78
+ <dict>
79
+ <key>hash2</key>
80
+ <data>
81
+ Zr94abHkS2qwIhriMQOj+OvrOQCSd5wpI/RmG4v6vVo=
82
+ </data>
83
+ </dict>
84
+ <key>include/lsl/outlet.h</key>
85
+ <dict>
86
+ <key>hash2</key>
87
+ <data>
88
+ YTC0Rom7lJyfSWF4QWWKyg4YQruBcq2xE9EHm5f347M=
89
+ </data>
90
+ </dict>
91
+ <key>include/lsl/resolver.h</key>
92
+ <dict>
93
+ <key>hash2</key>
94
+ <data>
95
+ XQX/2OuVVXf/km93Iz0mrPhZ+hsUT+pwc+nwCYu24os=
96
+ </data>
97
+ </dict>
98
+ <key>include/lsl/streaminfo.h</key>
99
+ <dict>
100
+ <key>hash2</key>
101
+ <data>
102
+ YnsdDt4z2GrWJU+JRWQYntsK5p07m/p11VrLNJzZEyw=
103
+ </data>
104
+ </dict>
105
+ <key>include/lsl/types.h</key>
106
+ <dict>
107
+ <key>hash2</key>
108
+ <data>
109
+ OUrIJYya+EoX6+i3itSwfmCMxxXyjdb5sE4NIGvDBtY=
110
+ </data>
111
+ </dict>
112
+ <key>include/lsl/xml.h</key>
113
+ <dict>
114
+ <key>hash2</key>
115
+ <data>
116
+ St4GBUwAhWDdXRjYPEvTSAvyKRkDYRnsPNLpyvdO0/w=
117
+ </data>
118
+ </dict>
119
+ <key>include/lsl_c.h</key>
120
+ <dict>
121
+ <key>hash2</key>
122
+ <data>
123
+ cZHyjsRUFJrr7WX/+nJXczt1dK3/o6XkZf4Dot+DXgM=
124
+ </data>
125
+ </dict>
126
+ <key>include/lsl_cpp.h</key>
127
+ <dict>
128
+ <key>hash2</key>
129
+ <data>
130
+ J2s+NOHVhw8aoW+2kJ8J1deHJjCr6xPLNkoDNUGeSl4=
131
+ </data>
132
+ </dict>
133
+ </dict>
134
+ <key>rules</key>
135
+ <dict>
136
+ <key>^Resources/</key>
137
+ <true/>
138
+ <key>^Resources/.*\.lproj/</key>
139
+ <dict>
140
+ <key>optional</key>
141
+ <true/>
142
+ <key>weight</key>
143
+ <real>1000</real>
144
+ </dict>
145
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
146
+ <dict>
147
+ <key>omit</key>
148
+ <true/>
149
+ <key>weight</key>
150
+ <real>1100</real>
151
+ </dict>
152
+ <key>^Resources/Base\.lproj/</key>
153
+ <dict>
154
+ <key>weight</key>
155
+ <real>1010</real>
156
+ </dict>
157
+ <key>^version.plist$</key>
158
+ <true/>
159
+ </dict>
160
+ <key>rules2</key>
161
+ <dict>
162
+ <key>.*\.dSYM($|/)</key>
163
+ <dict>
164
+ <key>weight</key>
165
+ <real>11</real>
166
+ </dict>
167
+ <key>^(.*/)?\.DS_Store$</key>
168
+ <dict>
169
+ <key>omit</key>
170
+ <true/>
171
+ <key>weight</key>
172
+ <real>2000</real>
173
+ </dict>
174
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
175
+ <dict>
176
+ <key>nested</key>
177
+ <true/>
178
+ <key>weight</key>
179
+ <real>10</real>
180
+ </dict>
181
+ <key>^.*</key>
182
+ <true/>
183
+ <key>^Info\.plist$</key>
184
+ <dict>
185
+ <key>omit</key>
186
+ <true/>
187
+ <key>weight</key>
188
+ <real>20</real>
189
+ </dict>
190
+ <key>^PkgInfo$</key>
191
+ <dict>
192
+ <key>omit</key>
193
+ <true/>
194
+ <key>weight</key>
195
+ <real>20</real>
196
+ </dict>
197
+ <key>^Resources/</key>
198
+ <dict>
199
+ <key>weight</key>
200
+ <real>20</real>
201
+ </dict>
202
+ <key>^Resources/.*\.lproj/</key>
203
+ <dict>
204
+ <key>optional</key>
205
+ <true/>
206
+ <key>weight</key>
207
+ <real>1000</real>
208
+ </dict>
209
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
210
+ <dict>
211
+ <key>omit</key>
212
+ <true/>
213
+ <key>weight</key>
214
+ <real>1100</real>
215
+ </dict>
216
+ <key>^Resources/Base\.lproj/</key>
217
+ <dict>
218
+ <key>weight</key>
219
+ <real>1010</real>
220
+ </dict>
221
+ <key>^[^/]+$</key>
222
+ <dict>
223
+ <key>nested</key>
224
+ <true/>
225
+ <key>weight</key>
226
+ <real>10</real>
227
+ </dict>
228
+ <key>^embedded\.provisionprofile$</key>
229
+ <dict>
230
+ <key>weight</key>
231
+ <real>20</real>
232
+ </dict>
233
+ <key>^version\.plist$</key>
234
+ <dict>
235
+ <key>weight</key>
236
+ <real>20</real>
237
+ </dict>
238
+ </dict>
239
+ </dict>
240
+ </plist>
@@ -0,0 +1,229 @@
1
+ #pragma once
2
+
3
+ //! @file common.h Global constants for liblsl
4
+
5
+ #if defined(LIBLSL_FFI)
6
+ // Skip any typedefs that might confuse a FFI header parser, e.g. cffi
7
+ #elif defined(_MSC_VER) && _MSC_VER < 1600
8
+ typedef signed char int8_t;
9
+ typedef signed short int16_t;
10
+ typedef signed int int32_t;
11
+ typedef signed long long int64_t;
12
+ typedef unsigned int uint32_t;
13
+ #else
14
+ #include <stdint.h>
15
+ #endif
16
+
17
+ #if defined(_MSC_VER) && _MSC_VER < 1900
18
+ #define __func__ __FUNCTION__
19
+ #endif
20
+
21
+ /// LIBLSL_C_API expands function attributes needed for the linker
22
+ #if defined(LIBLSL_STATIC) || defined(LIBLSL_FFI)
23
+ #define LIBLSL_C_API
24
+ #elif defined _WIN32 || defined __CYGWIN__
25
+ #if defined LIBLSL_EXPORTS
26
+ #define LIBLSL_C_API __declspec(dllexport)
27
+ #else
28
+ #define LIBLSL_C_API __declspec(dllimport)
29
+ #ifndef LSLNOAUTOLINK
30
+ #pragma comment(lib, "lsl.lib")
31
+ #endif
32
+ #endif
33
+ #pragma warning(disable : 4275)
34
+ #else // Linux / OS X
35
+ #define LIBLSL_C_API __attribute__((visibility("default")))
36
+ #endif
37
+
38
+ /// Constant to indicate that a stream has variable sampling rate.
39
+ #define LSL_IRREGULAR_RATE 0.0
40
+
41
+ /**
42
+ * Constant to indicate that a sample has the next successive time stamp.
43
+ *
44
+ * This is an optional optimization to transmit less data per sample.
45
+ * The stamp is then deduced from the preceding one according to the stream's
46
+ * sampling rate (in the case of an irregular rate, the same time stamp as
47
+ * before will is assumed). */
48
+ #define LSL_DEDUCED_TIMESTAMP -1.0
49
+
50
+ /// A very large time value (ca. 1 year); can be used in timeouts.
51
+ #define LSL_FOREVER 32000000.0
52
+
53
+ /**
54
+ * Constant to indicate that there is no preference about how a data stream
55
+ * shall be chunked for transmission.
56
+ * (can be used for the chunking parameters in the inlet or the outlet).
57
+ */
58
+ #define LSL_NO_PREFERENCE 0
59
+
60
+ /// Data format of a channel (each transmitted sample holds an array of channels), 4 bytes wide
61
+ typedef enum {
62
+ /** For up to 24-bit precision measurements in the appropriate physical unit (e.g., microvolts).
63
+ * Integers from -16777216 to 16777216 are represented accurately. */
64
+ cft_float32 = 1,
65
+ /** For universal numeric data as long as permitted by network & disk budget.
66
+ * The largest representable integer is 53-bit. */
67
+ cft_double64 = 2,
68
+ /** For variable-length ASCII strings or data blobs, such as video frames, complex event
69
+ descriptions, etc. */
70
+ cft_string = 3,
71
+ /** For high-rate digitized formats that require 32-bit precision.
72
+ * Depends critically on meta-data to represent meaningful units.
73
+ * Useful for application event codes or other coded data. */
74
+ cft_int32 = 4,
75
+ /** For very high rate signals (40Khz+) or consumer-grade audio.
76
+ * For professional audio float is recommended. */
77
+ cft_int16 = 5,
78
+ /// For binary signals or other coded data. Not recommended for encoding string data.
79
+ cft_int8 = 6,
80
+ /** 64 bit integers. Support for this type is not yet exposed in all languages.
81
+ * Also, some builds of liblsl will not be able to send or receive data of this type. */
82
+ cft_int64 = 7,
83
+ /// Can not be transmitted.
84
+ cft_undefined = 0,
85
+
86
+ // prevent compilers from assuming an instance fits in a single byte
87
+ _cft_maxval = 0x7f000000
88
+ } lsl_channel_format_t;
89
+
90
+ // Abort compilation if lsl_channel_format_t isn't exactly 4 bytes wide
91
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
92
+ _Static_assert(sizeof(lsl_channel_format_t) == 4, "lsl_channel_format_t size breaks the LSL ABI");
93
+ #elif defined(__cplusplus) && __cplusplus >= 201103L
94
+ static_assert (sizeof(lsl_channel_format_t) == 4, "lsl_channel_format_t size breaks the LSL ABI");
95
+ #elif !defined(LIBLSL_FFI)
96
+ static char _lsl_channel_format_size_check[1 - 2*!(sizeof(lsl_channel_format_t)==4)];
97
+ #endif
98
+
99
+ /// Post-processing options for stream inlets.
100
+ typedef enum {
101
+ /** No automatic post-processing; return the ground-truth time stamps for manual
102
+ post-processing. This is the default behavior of the inlet. */
103
+ proc_none = 0,
104
+
105
+ /** Perform automatic clock synchronization; equivalent to manually adding the time_correction()
106
+ value to the received time stamps. */
107
+ proc_clocksync = 1,
108
+
109
+ /** Remove jitter from time stamps.
110
+ *
111
+ * This will apply a smoothing algorithm to the received time stamps; the smoothing needs to see
112
+ * a minimum number of samples (30-120 seconds worst-case) until the remaining jitter is
113
+ * consistently below 1ms. */
114
+ proc_dejitter = 2,
115
+
116
+ /** Force the time-stamps to be monotonically ascending.
117
+ *
118
+ * Only makes sense if timestamps are dejittered. */
119
+ proc_monotonize = 4,
120
+
121
+ /** Post-processing is thread-safe (same inlet can be read from by multiple threads);
122
+ * uses somewhat more CPU. */
123
+ proc_threadsafe = 8,
124
+
125
+ /// The combination of all possible post-processing options.
126
+ proc_ALL = 1 | 2 | 4 | 8,
127
+
128
+ // prevent compilers from assuming an instance fits in a single byte
129
+ _proc_maxval = 0x7f000000
130
+ } lsl_processing_options_t;
131
+
132
+ /// Possible error codes.
133
+ typedef enum {
134
+ /// No error occurred
135
+ lsl_no_error = 0,
136
+
137
+ /// The operation failed due to a timeout.
138
+ lsl_timeout_error = -1,
139
+
140
+ /// The stream has been lost.
141
+ lsl_lost_error = -2,
142
+
143
+ /// An argument was incorrectly specified (e.g., wrong format or wrong length).
144
+ lsl_argument_error = -3,
145
+
146
+ /// Some other internal error has happened.
147
+ lsl_internal_error = -4,
148
+
149
+ // prevent compilers from assuming an instance fits in a single byte
150
+ _lsl_error_code_maxval = 0x7f000000
151
+ } lsl_error_code_t;
152
+
153
+ /// Flags for outlet_ex and inlet_ex
154
+ typedef enum {
155
+ /// Keep legacy behavior: max_buffered / max_buflen is in seconds; use asynch transfer.
156
+ transp_default = 0,
157
+
158
+ /// The supplied max_buf value is in samples.
159
+ transp_bufsize_samples = 1,
160
+
161
+ /// The supplied max_buf should be scaled by 0.001.
162
+ transp_bufsize_thousandths = 2,
163
+
164
+ // prevent compilers from assuming an instance fits in a single byte
165
+ _lsl_transport_options_maxval = 0x7f000000
166
+ } lsl_transport_options_t;
167
+
168
+ /// Return an explanation for the last error
169
+ extern LIBLSL_C_API const char *lsl_last_error(void);
170
+
171
+ /**
172
+ * LSL version the binary was compiled against
173
+ *
174
+ * Used either to check if the same version is used
175
+ * (`if(lsl_protocol_version()!=LIBLSL_COMPILE_HEADER_VERSION`) …
176
+ * or to require a certain set of features:
177
+ * ```
178
+ * #if LIBLSL_COMPILE_HEADER_VERSION > 113
179
+ * do_stuff();
180
+ * #endif
181
+ * ```
182
+ * */
183
+ #define LIBLSL_COMPILE_HEADER_VERSION 114
184
+
185
+ /**
186
+ * Protocol version.
187
+ *
188
+ * The major version is `protocol_version() / 100;`
189
+ * The minor version is `protocol_version() % 100;`
190
+ *
191
+ * Clients with different minor versions are protocol-compatible while clients
192
+ * with different major versions will refuse to work together.
193
+ */
194
+ extern LIBLSL_C_API int32_t lsl_protocol_version();
195
+
196
+ /**
197
+ * Version of the liblsl library.
198
+ *
199
+ * The major version is `library_version() / 100;`
200
+ * The minor version is `library_version() % 100;`
201
+ */
202
+ extern LIBLSL_C_API int32_t lsl_library_version();
203
+
204
+ /**
205
+ * Get a string containing library information.
206
+ *
207
+ * The format of the string shouldn't be used for anything important except giving a debugging
208
+ * person a good idea which exact library version is used. */
209
+ extern LIBLSL_C_API const char *lsl_library_info(void);
210
+
211
+ /**
212
+ * Obtain a local system time stamp in seconds.
213
+ *
214
+ * The resolution is better than a millisecond.
215
+ * This reading can be used to assign time stamps to samples as they are being acquired.
216
+ * If the "age" of a sample is known at a particular time (e.g., from USB transmission
217
+ * delays), it can be used as an offset to lsl_local_clock() to obtain a better estimate of
218
+ * when a sample was actually captured. See lsl_push_sample() for a use case.
219
+ */
220
+ extern LIBLSL_C_API double lsl_local_clock();
221
+
222
+ /**
223
+ * Deallocate a string that has been transferred to the application.
224
+ *
225
+ * Rarely used: the only use case is to deallocate the contents of
226
+ * string-valued samples received from LSL in an application where
227
+ * no free() method is available (e.g., in some scripting languages).
228
+ */
229
+ extern LIBLSL_C_API void lsl_destroy_string(char *s);