pushWithTimestamp method
int
pushWithTimestamp(
- lsl_outlet out,
- Pointer<
NativeType> data, - int elements,
- double timestamp, {
- bool? pushthrough,
Pushes elements values with a single timestamp (0.0 = now).
A non-null pushthrough overrides the outlet's chunking for this push.
Implementation
int pushWithTimestamp(
lsl_outlet out,
Pointer<NativeType> data,
int elements,
double timestamp, {
bool? pushthrough,
}) {
if (pushthrough != null) {
return _pushTP(
out,
data.cast(),
elements,
timestamp,
pushthrough ? 1 : 0,
);
}
return _pushT(out, data.cast(), elements, timestamp);
}