lsl_pull_sample_buf function

  1. @Native<NativeLsl_pull_sample_buf>()
double lsl_pull_sample_buf(
  1. lsl_inlet in$,
  2. Pointer<Pointer<Char>> buffer,
  3. Pointer<Uint32> buffer_lengths,
  4. int buffer_elements,
  5. double timeout,
  6. Pointer<Int32> ec,
)

@copydoc lsl_pull_sample_f These strings may contains 0's, therefore the lengths are read into the buffer_lengths array. @param buffer_lengths A pointer to an array that holds the resulting lengths for each returned binary string.

Implementation

@ffi.Native<NativeLsl_pull_sample_buf>()
external double lsl_pull_sample_buf(
  lsl_inlet in$,
  ffi.Pointer<ffi.Pointer<ffi.Char>> buffer,
  ffi.Pointer<ffi.Uint32> buffer_lengths,
  int buffer_elements,
  double timeout,
  ffi.Pointer<ffi.Int32> ec,
);