pushWithTimestamps method
Pushes elements values with one timestamp per sample.
A non-null pushthrough overrides the outlet's chunking for this push.
Implementation
int pushWithTimestamps(
lsl_outlet out,
Pointer<NativeType> data,
int elements,
Pointer<Double> timestamps, {
bool? pushthrough,
}) {
if (pushthrough != null) {
return _pushTNP(
out,
data.cast(),
elements,
timestamps,
pushthrough ? 1 : 0,
);
}
return _pushTn(out, data.cast(), elements, timestamps);
}