@@ -174,10 +174,14 @@ class api_config {
174
174
int outlet_buffer_reserve_ms () const { return outlet_buffer_reserve_ms_; }
175
175
// / Default pre-allocated buffer size for the outlet, in samples (irregular streams).
176
176
int outlet_buffer_reserve_samples () const { return outlet_buffer_reserve_samples_; }
177
+ // / Default socket send buffer size, in bytes.
178
+ int socket_send_buffer_size () const { return socket_send_buffer_size_; }
177
179
// / Default pre-allocated buffer size for the inlet, in ms (regular streams).
178
180
int inlet_buffer_reserve_ms () const { return inlet_buffer_reserve_ms_; }
179
181
// / Default pre-allocated buffer size for the inlet, in samples (irregular streams).
180
182
int inlet_buffer_reserve_samples () const { return inlet_buffer_reserve_samples_; }
183
+ // / Default socket receive buffer size, in bytes.
184
+ int socket_receive_buffer_size () const { return socket_receive_buffer_size_; }
181
185
// / Default halftime of the time-stamp smoothing window (if enabled), in seconds.
182
186
float smoothing_halftime () const { return smoothing_halftime_; }
183
187
// / Override timestamps with lsl clock if True
@@ -235,8 +239,10 @@ class api_config {
235
239
double time_probe_max_rtt_;
236
240
int outlet_buffer_reserve_ms_;
237
241
int outlet_buffer_reserve_samples_;
242
+ int socket_send_buffer_size_;
238
243
int inlet_buffer_reserve_ms_;
239
244
int inlet_buffer_reserve_samples_;
245
+ int socket_receive_buffer_size_;
240
246
float smoothing_halftime_;
241
247
bool force_default_timestamps_;
242
248
};
0 commit comments