lsl_push_chunk_f function

  1. @Native<NativeLsl_push_chunk_f>()
int lsl_push_chunk_f(
  1. lsl_outlet out,
  2. Pointer<Float> data,
  3. int data_elements
)

Push a chunk of multiplexed samples into the outlet. One timestamp per sample is provided.

@attention Note that the provided buffer size is measured in channel values (e.g. floats) rather than in samples.

Handles type checking & conversion. @param out The lsl_outlet object through which to push the data. @param data A buffer of channel values holding the data for zero or more successive samples to send. @param data_elements The number of data values (of type T) in the data buffer. Must be a multiple of the channel count. @return Error code of the operation (usually attributed to the wrong data type). @{

Implementation

@ffi.Native<NativeLsl_push_chunk_f>()
external int lsl_push_chunk_f(
  lsl_outlet out,
  ffi.Pointer<ffi.Float> data,
  int data_elements,
);