mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-08 07:38:13 -04:00
pass all params to onTrigger
This commit is contained in:
@@ -18,8 +18,9 @@ export function repl({
|
||||
if (!hap.context.onTrigger) {
|
||||
return defaultOutput(hap, deadline, duration);
|
||||
}
|
||||
const cps = 1; // TODO: fix
|
||||
// call signature of output / onTrigger is different...
|
||||
return hap.context.onTrigger(getTime() + deadline, hap);
|
||||
return hap.context.onTrigger(getTime() + deadline, hap, getTime(), cps);
|
||||
},
|
||||
onError: onSchedulerError,
|
||||
getTime,
|
||||
|
||||
Reference in New Issue
Block a user