@@ -396,10 +396,10 @@ class stream_outlet {
396396 * @param max_buffered Optionally the maximum amount of data to buffer (in seconds if there is a
397397 * nominal sampling rate, otherwise x100 in samples). The default is 6 minutes of data.
398398 */
399- stream_outlet (const stream_info &info, int32_t chunk_size = 0 , int32_t max_buffered = 360 )
399+ stream_outlet (const stream_info &info, int32_t chunk_size = 0 , int32_t max_buffered = 360 , uint32_t flags = transp_default )
400400 : channel_count(info.channel_count()),
401401 sample_rate (info.nominal_srate()),
402- obj(lsl_create_outlet (info.handle().get(), chunk_size, max_buffered), &lsl_destroy_outlet) {}
402+ obj(lsl_create_outlet_ex (info.handle().get(), chunk_size, max_buffered, flags ), &lsl_destroy_outlet) {}
403403
404404 // ========================================
405405 // === Pushing a sample into the outlet ===
@@ -900,9 +900,9 @@ class stream_inlet {
900900 * lsl::lost_error if the stream's source is lost (e.g., due to an app or computer crash).
901901 */
902902 stream_inlet (const stream_info &info, int32_t max_buflen = 360 , int32_t max_chunklen = 0 ,
903- bool recover = true )
903+ bool recover = true , uint32_t flags = transp_default )
904904 : channel_count(info.channel_count()),
905- obj (lsl_create_inlet (info.handle().get(), max_buflen, max_chunklen, recover), &lsl_destroy_inlet) {}
905+ obj (lsl_create_inlet_ex (info.handle().get(), max_buflen, max_chunklen, recover, flags ), &lsl_destroy_inlet) {}
906906
907907 // / Return a shared pointer to pass to C-API functions that aren't wrapped yet
908908 // /
0 commit comments