getAbRepeat method
Implementation
({bool enabled, double startSeconds, double endSeconds}) getAbRepeat() {
if (_engine == ffi.nullptr || _getAbRepeat == null) {
return (enabled: false, startSeconds: 0.0, endSeconds: 0.0);
}
final pEnabled = calloc<ffi.Int32>();
final pStart = calloc<ffi.Double>();
final pEnd = calloc<ffi.Double>();
try {
_getAbRepeat!(_engine, pEnabled, pStart, pEnd);
return (
enabled: pEnabled.value != 0,
startSeconds: pStart.value,
endSeconds: pEnd.value,
);
} finally {
calloc.free(pEnabled);
calloc.free(pStart);
calloc.free(pEnd);
}
}