Reinstate slice and splice (#500)
Reinstate slice/splice, fixing up "unit" param using new global cps
This commit is contained in:
parent
fdc4819e39
commit
2d5064bd5b
4 changed files with 37 additions and 27 deletions
|
|
@ -21,7 +21,7 @@ export function repl({
|
|||
onTrigger: async (hap, deadline, duration, cps) => {
|
||||
try {
|
||||
if (!hap.context.onTrigger || !hap.context.dominantTrigger) {
|
||||
await defaultOutput(hap, deadline, duration);
|
||||
await defaultOutput(hap, deadline, duration, cps);
|
||||
}
|
||||
if (hap.context.onTrigger) {
|
||||
// call signature of output / onTrigger is different...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue